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

Re: perl program compilation

by eXile (Priest)
on Apr 15, 2006 at 14:26 UTC ( #543539=note: print w/ replies, xml ) Need Help??


in reply to perl program compilation

Normally the compiled form isn't dumped to file, perl does the compilation in memory.

You can produce a perl bytecode by using B::Bytecode:

perl -MO=Bytecode,-H -e'print "hello world"' > hi.plc
hi.plc will be an executable, with a first line telling perl how to decode the bytecode (caused by the '-H' option), the rest is a bytecode.


Comment on Re: perl program compilation
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (17)
As of 2015-07-30 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (272 votes), past polls