Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Anything comparable to argv0 from C in Perl?by DrManhattan (Chaplain) |
on Mar 13, 2003 at 21:38 UTC ( [id://242842]=note: print w/replies, xml ) | Need Help?? |
Here's a one-liner to extract the base name from the full path without a temporary array:
You can also use split() like this:
-Matt
In Section
Seekers of Perl Wisdom
|
|