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

Re^9: How to print out package code ?

by Martin90 (Sexton)
on Mar 19, 2013 at 11:03 UTC ( [id://1024262]=note: print w/replies, xml ) Need Help??


in reply to Re^8: How to print out package code ?
in thread How to print out package code ?

$deparse->coderef2text(\&sub) Returns only ";" it's all because these subs are encoded, all pure perl code works good with this method. Any ideas how to get subroutines code ? :(

Replies are listed 'Best First'.
Re^10: How to print out package code ?
by Corion (Patriarch) on Mar 19, 2013 at 13:09 UTC

    If the subroutine is not actual Perl code but (say) C code which lives in a dynamically loaded extension (.so file), then you will need a C decompiler, not a Perl decompiler.

    The best decompiler I know is IDA Pro, but I assume that if this is a bought software package, it will be much easier to get the source code from your vendor.

      Ok, thanks for help ;]
Re^10: How to print out package code ?
by Anonymous Monk on Mar 19, 2013 at 13:02 UTC

    Any ideas how to get subroutines code ?

    Ask the developer

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-18 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found