Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: I'd like to have an indication when the interpreter moves to the next file (using Filter-Include)?

by broquaint (Abbot)
on Jul 14, 2005 at 13:41 UTC ( #474866=note: print w/ replies, xml ) Need Help??


in reply to I'd like to have an indication when the interpreter moves to the next file (using Filter-Include)?

There is no way to do this through the current interface, but you can bodge it e.g

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; }
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.
HTH

_________
broquaint


Comment on Re: I'd like to have an indication when the interpreter moves to the next file (using Filter-Include)?
Download Code
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
    I'd be grateful if you add this feature to the module.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-07-06 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls