Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Re: if containsby pfaut (Priest) |
on Jul 05, 2003 at 15:47 UTC ( [id://271638]=note: print w/replies, xml ) | Need Help?? |
Actually while $ does usually have a special meaning, Perl seems to try to do the Right Thing: print 'aha' if 'abcde' =~ /$/ also prints 'aha'. I do believe it's matching end of line, not the dollar sign.
In Section
Seekers of Perl Wisdom
|
|