I thought it will be usefull so I post it here..hth(my $pkgdir = __PACKAGE__) =~ s!::!/!; my ($path) = $INC{"$pkgdir.pm"} =~ m!^(.+)/!; print $path;
In reply to get absolute path of the module inside it by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |