in reply to Re: Filepointer of source file inside source filter
in thread Filepointer of source file inside source filter
I guess it will come down to reading the source file until the invoking line is encountered and recording that file pointer. That shouldn't be too bad as the load.pm source filter should be the first for that module, and consequently is located somewhere near the beginning of the source.
Wish someone would have a better idea, though (apart from hacking it into Perl itself, which might be an option).
Liz
|
|---|