more useful options | |
PerlMonks |
Re: Re: How do I get the full path to the script executing?by clemburg (Curate) |
on Nov 08, 2000 at 21:22 UTC ( [id://40563]=note: print w/replies, xml ) | Need Help?? |
If you want only the directory part, use File::Basename, like this:
Using a regex here is calling for trouble.
Christian Lemburg
In Section
Seekers of Perl Wisdom
|
|