Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Using Perl subroutines in a Perl2Exe exe file

by hydo (Monk)
on Jul 02, 2005 at 07:26 UTC ( [id://471889]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using Perl subroutines in a Perl2Exe exe file
in thread Using Perl subroutines in a Perl2Exe exe file

I don't have a PC to test it on at the moment, so I can't tell you exactly where it is, but I do know two things:

1. There *is* a copy of the interpreter bundled by default in PAR exe files.

2. You can create your PAR exe, then unzip it with whatever you use for .zip files, and look at the directory structure. As I understand it, and hopefully someone will correct me if I'm wrong, the cwd when the .exe file is running will the the top level of that directory structure. You should then be able to modify that BEGIN line with the relative path of the interpreter and make it work. Well, that and taking out the "#" that's making it a comment. :)

Again, I can't test this but I think it should work or at least put you on the path to.... errmm.... workitude?

  • Comment on Re^3: Using Perl subroutines in a Perl2Exe exe file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found