Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Are there any modules using source filter to capture code?

by LanX (Sage)
on Apr 29, 2017 at 21:47 UTC ( #1189183=perlquestion: print w/replies, xml ) Need Help??

LanX has asked for the wisdom of the Perl Monks concerning the following question:

Hi

In continuation to Filehandle of the current sourcecode, pointing after last code line? I wrote some (non intrusive) code using Filter::Simple to the source of the current file (actually the lines after the use module )

It's a rather trivial idea but I couldn't find anything similar on CPAN .

Question: Did I reinvent the wheel or should I publish?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re: Are there any modules using source filter to capture code?
by shmem (Chancellor) on Apr 29, 2017 at 21:53 UTC
    Question: Did I reinvent the wheel or should I publish?

    When in doubt, publish. We'll do the ratings after the fact :-P

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1189183]
Approved by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2022-10-02 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (7 votes). Check out past polls.

    Notices?