Syntactic Confectionery Delight | |
PerlMonks |
Re: get the "last part" of a Path::Class objectby mrpeabody (Friar) |
on Jun 23, 2007 at 19:44 UTC ( [id://623011]=note: print w/replies, xml ) | Need Help?? |
It's absurd that these two classes don't have a method with the same name for this common operation. The obvious solution is patching Path::Class::Dir to get (pseudocode):
Alternatively, this idiom would probably work for most cases:
In Section
Seekers of Perl Wisdom
|
|