Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Pugs Tic Tacby bmann (Priest) |
on Apr 25, 2005 at 18:33 UTC ( [id://451298]=note: print w/replies, xml ) | Need Help?? |
~~ is called the "smart match operator" and supersedes the binding operator, =~. It allows you to use it on anything and it'll do the right thing, ie:
Read the "Smart Matching" section of Synopsis 4 for details. rx is a replacement for qr. rx:perl5 means use perl5-compatible regular expressions. More details about rx in Synopsis 5.
In Section
Seekers of Perl Wisdom
|
|