Just another Perl shrine | |
PerlMonks |
Re^4: How to grep exact stringby tobyink (Canon) |
on Nov 15, 2012 at 08:38 UTC ( [id://1003959]=note: print w/replies, xml ) | Need Help?? |
That's not a search for an exact string though. $unique might contain regexp metacharacters like ".".
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom
|
|