I need to determine the name of the running script from within itself _without_ using a module.
I've settled on using this:
Just checking to see if there is anything more 'elegant', anything within Perl itself that doesn't requite me running a system command sort of thing.
Again, I need to do this withot a module such as File::Basename.
I've settled on using this:
Code:
$SELF = `basename $0`;
Just checking to see if there is anything more 'elegant', anything within Perl itself that doesn't requite me running a system command sort of thing.
Again, I need to do this withot a module such as File::Basename.