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 (Saint)
on Apr 29, 2017 at 21:47 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2025-05-20 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.