Re: Why '' Is Matched First Time, Not Second Time

From: Gunnar Hjalmarsson (noreply_at_gunnar.cc)
Date: 08/21/04

  • Next message: Eric Bohlman: "Re: Why '' Is Matched First Time, Not Second Time"
    Date: Sat, 21 Aug 2004 03:09:04 +0200
    
    

    http://links.i6networks.com wrote:
    > Empty String '' is matched the first time but not the second time.
    > Why?

    When you noticed that the m// operator does not behave as you had
    expected, you did apparently not check the description of the m//
    operator in "perldoc perlop". Why?

    -- 
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
    

  • Next message: Eric Bohlman: "Re: Why '' Is Matched First Time, Not Second Time"

    Relevant Pages

    • Re: Prevent ruby constant variables from changing?
      ... The name of an anonymous class is an empty string. ... That happens automatically behind the scenes the first time you say class Foo. ... Once a class gets its name the container where the class object lives ... Normally constant User holds a class named "User", ...
      (comp.lang.ruby)
    • Re: global.asa fires after url parameters?
      ... > The first time the URL listed above is requested the query_string is ... > returned as an empty string. ... Please reply to the newsgroup. ...
      (microsoft.public.inetserver.asp.general)
    • Re: Unix Device File Emulation
      ... def read: ... for the first time, the text is displayed as intended, ... readlinereturns an empty string ... So do I not want to use readline()? ...
      (comp.lang.python)
    • Re: Spurious Data returned from empty db column...
      ... are an empty string, rather than setting them to null. ... So I just ran it twice, the first time Value when assigned with Buffer was ... When you retrieve a null value, does GetValue ...
      (alt.comp.lang.borland-delphi)
    • Flat File Import and Null Values
      ... This is my first time posting, as well as my first time using DTS. ... I'm trying to import data from a flatfile into a SQL ... field which contains nothing but spaces equal to "" (empty string). ...
      (microsoft.public.sqlserver.dts)