good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: smart match captureby cdarke (Prior) |
on Oct 13, 2011 at 14:02 UTC ( [id://931245]=note: print w/replies, xml ) | Need Help?? |
Unfortunately, from exists in perlfunc: Not sure what you mean by "last", that exits a block. Maybe you were thinking of first in List::Util? But that is not using the smart-match operator (~~ not =~)
In Section
Seekers of Perl Wisdom
|
|