Maybe the subjest isn't so clear, I'll try to explain:
I have a script that is loaded dynamically and contains, few includes.
The script also contains "use Filter::Include" line.
I'd like to save a global parameter that keeps the current read file.
It doesn't have to be a global parameter, I just want to print to screen every time the interpreter moves to another include file.
Do anyone have an idea how to do it ?
TIA,
Mosh.
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.
Working great !!
If anyone is intrested in the improvement, let me know.
Mosh.
In reply to I'd like to have an indication when the interpreter moves to the next file (using Filter-Include)? by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |