Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^6: Parse ISO 8601 date/times (still never \d)by tobyink (Canon) |
on Nov 07, 2012 at 18:34 UTC ( [id://1002713]=note: print w/replies, xml ) | Need Help?? |
The second version, which uses overloading, should work with s/// and split //.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Cool Uses for Perl
|
|