dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Web Development
Expertise: Beginner
Mar 11, 1997

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Can I do a "binary dump" using Perl?

Question:
Can I do a "binary dump" using PERL? Meaning, can I "compile" a PERL script to binary form? If this is possible, I would greatly appreciate some "how to."

Answer:
There is a "dump" command in Perl that puts the byte codes out to a file. These binary codes can then be read in via "undump". However this command is not widely used, because:

  • It may have bugs.
  • Compilation of Perl programs is about 10,000 lines per second, so if your program is less than 10,000 lines you are saving at most one second of response time.

Larry Wall, author of Perl, refuses to spend much time making Perl a compiler, preferring instead to add features.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date