c has asked for the wisdom of the Perl Monks concerning the following question:
$0 = (split(/\//, $0))[-1];
but I was curious to know if there is a built in that would do this same routine for me?
humbly -c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl internal for present script without full path?
by dsb (Chaplain) on Jul 24, 2001 at 22:35 UTC | |
|
Re: perl internal for present script without full path?
by miyagawa (Chaplain) on Jul 24, 2001 at 22:50 UTC | |
|
Re: perl internal for present script without full path?
by MZSanford (Curate) on Jul 25, 2001 at 14:19 UTC |