|Just another Perl shrine|
I'd like to have an indication when the interpreter moves to the next file (using Filter-Include)?by mosh (Scribe)
|on Jul 14, 2005 at 11:02 UTC||Need Help??|
mosh has asked for the
wisdom of the Perl Monks concerning the following question:
Maybe the subjest isn't so clear, I'll try to explain:
I have a script that is loaded dynamically and contains, few includes.
I'd like to save a global parameter that keeps the current read file.
Do anyone have an idea how to do it ?
Update: Finally I found a way to improve the Filter-Include package !
The inprovement is made by adding dedicated function to the Fiter-Include dump file and catch it by AUTOLOAD sub.
If anyone is intrested in the improvement, let me know.