in reply to decode a file

the trick to decoding obfuscated Perl is always the same... replace "eval" with "print"

Replies are listed 'Best First'.
Re^2: decode a file
by Corion (Patriarch) on May 22, 2022 at 05:49 UTC

    In addition, see also B::Deobfuscate. I think there also is a module which does replace string-eval with print, but I don't find it at the moment.

    Update: There it is - overload::eval. You can use it from the command line as:

    perl -Moverload::eval=-p obfuscated.pl