Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: PAR::Packer exclude modules - but which ones?

by Khen1950fx (Canon)
on Sep 19, 2011 at 09:54 UTC ( [id://926705]=note: print w/replies, xml ) Need Help??


in reply to PAR::Packer exclude modules - but which ones?

You could make a packed .pl that relies on the target machine having a perl interpreter and core modules:
pp -P -o out.pl script.pl
Then unzip it:
unzip -l out.pl | sort -n
I tried it on a 370 byte script, and the result was a packed .pl that was 272 bytes, smaller than the original. Cool!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-18 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found