You have made the (reasonable) assumption that source files do not change during the execution? Why not further assume that the cwd is unchanged during compilation? Otherwise, you'd have to account for the possibility that a chdir occurs anywhere between the use statements...
In reply to Re: How to determine absolute path of current Perl file?
by Anonymous Monk
in thread How to determine absolute path of current Perl file?
by hakonhagland
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |