when I want to refer to a confile of the same name as the .pl file. Now when I put this code into a module, it doesn't grab the module name but the calling perl script name. How can I get the module filename when calling inside the module itself?my %args = ( configfile => $configdir.'/'.basename($0,'.pm').'.conf',
In reply to returning filename of module used by bengmau
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |