Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Re: Re: Variable assignment confusionby ysth (Canon) |
on Dec 15, 2003 at 20:05 UTC ( [id://314894]=note: print w/replies, xml ) | Need Help?? |
This doesn't make any difference in your case; so I'd use '$' to avoid confusion.IMO, using $ causes 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.
In Section
Seekers of Perl Wisdom
|
|