×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Compiling, Who Knows How To Complile Perl?

Compiling, Who Knows How To Complile Perl?

Compiling, Who Knows How To Complile Perl?

(OP)

 Hi Everyone,

 Does anyone out there know how to compile perl into a binary format, like c++ is?

 Thanks Much,

 Tony

RE: Compiling, Who Knows How To Complile Perl?

If you are using a Windows OS, goto www.activeperl.com and download their Perl Development Kit 2.0.
There is a way to convert perl files into executables (dependent or free-standing). I think the file name is PerlApp.pl (Usage is pathtoperlapp\PerlApp.pl -w Filename.pl -e ExecutableName.exe -d [for dependant] OR -f [for free-standing].

I think you will have to purchase a license to convert perl files into free-standing files.

Have Fun.

RE: Compiling, Who Knows How To Complile Perl?

(OP)

 Thanks mate,

 Cool Name, he he.

 I'm on linux though, sorry I forgot to mention that. Do you know how to do it on linux/unix type servers?

 Thanks,

 perlkid

Tony
tony@seeki.com
Experienced In: Perl, JavaScript, C++, PHP
Want More Experience In: Pascal, Python, PHP More C++

RE: Compiling, Who Knows How To Complile Perl?

Write a compiler if you can't find one.  It'd be a fun project.  If you know Perl and ASM, it should be rather easy.  No more than about two or three hundred hours work ;)

If you want a quicker solution though, I know that there is a free Perl compiler already written, though I haven't used it and don't know where it is.  Try perl.com or perl.org.

Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
http://www.oac-design.com

RE: Compiling, Who Knows How To Complile Perl?

Actually, there is a Perl to C compiler out there (since Perl was written in C, this is an easy conversion).  If you can find that, just convert to C, then compile it.

Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
http://www.oac-design.com

RE: Compiling, Who Knows How To Complile Perl?

(OP)

 Thanks Mate, You have been very helpfull, Oh yea, and you got my vote :)

 I just don't know enough darn c though. I know perl really well, but I picked up on c because I know so much perl, never really had the chance to get more programming expirience with it since work always got it the way.

 Thanks Though, maybe in a few years I'll make one. You really stuck that one in my head though, now I want to make one.  :)

 perlkid

Tony
tony@seeki.com
Experienced In: Perl, JavaScript, C++, PHP
Want More Experience In: Pascal, Python, PHP More C++

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close