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

Yes you are right, it works but not for my module which before is attached to script is decompiled by .so file. Have you got good solution for this case ?

Replies are listed 'Best First'.
Re^7: How to print out package code ?
by roboticus (Chancellor) on Mar 18, 2013 at 23:09 UTC

    Martin90:

    If it's a module found on CPAN, you can always download the package, untar it and brows the source to your hearts content.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

      No it is not from CPAN it's customized module which contain obfuscated code like "ufboisbfljsbf" and before is used in script first is decoded by .so files. I need to do changes in subroutines from this module. Any debugging fails at the moment when module is loading. Have you got good advice ? At least I want to get subroutines code from this module.

        No it is not from CPAN it's customized module which contain obfuscated code like "ufboisbfljsbf" and before is used in script first is decoded by .so file

        I know it sounds kinda obvious, but I would contact support

        $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 ? :(