in reply to I'd like to have an indication when the interpreter moves to the next file (using Filter-Include)?
I could add this feature to the module if you'd like (probably as an import() parameter), it could do with some tidying up anyhow.BEGIN { require Filter::Include; my $old_source = *Filter::Include::source{CODE}; *Filter::Include::source = sub { print "Including $_[0]\n"; goto &$old_source; }; Filter::Include->import; }
_________
broquaint
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: 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 14:25 UTC |