Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Re: Variable assignment confusion

by ysth (Canon)
on Dec 15, 2003 at 20:05 UTC ( [id://314894]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Variable assignment confusion
in thread Variable assignment confusion

This doesn't make any difference in your case; so I'd use '$' to avoid confusion.
IMO, using $ causes confusion.
  • To those who know the difference between \z and $, it confuses what the code does
  • To those who don't, it perpetuates their confusion.

    Note that \Z (capital) is equivalent to (?-m:$) (i.e. does what $ does not under //m) even when //m is on. \z (lowercase) always is just the end of the string.

    • Comment on Re: Re: Re: Re: Variable assignment confusion
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://314894]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others contemplating the Monastery: (4)
    As of 2024-04-24 17:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found