I don't understand what you're trying to do exactly, but perl's __FILE__ variable may prove handy. Here is an example use of it from Net/Config.pm:
my $file = __FILE__; my $ref; $file =~ s/Config.pm/libnet.cfg/;
In reply to Re: Finding the full path of a module implementation file
by eyepopslikeamosquito
in thread Finding the full path of a module implementation file
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |