Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl 6 and exe

by vkon (Curate)
on Sep 18, 2007 at 14:39 UTC ( [id://639659]=note: print w/replies, xml ) Need Help??


in reply to Perl 6 and exe

Speaking of perl6, I was impressed on how easy it is with PUGS to create standalone executable, at least for one-liners.

Speaking of perl5, your link nifty trick is interesting also, and it is quite doable nowadays, but with minor tweaks to perl source tree.

I have my home-grown perl5 executable system, which do on-the-fly unpacks (w/o temporaries, unlike PAR approach), and it is half-way done to a single-file executable.

Replies are listed 'Best First'.
Re^2: Perl 6 and exe
by ikegami (Patriarch) on Sep 18, 2007 at 14:46 UTC

    @INC supports code refs to specialized handlers, so no need to tweak the Perl source.

      there is a need to tweak the Perl source, if you really want perl executable with any extension to be linked statically into the main executable.

      I was able to statically link into perl58.dll Tcl::Tk and some required for me modules. But you need some kind of linking set and some developed approach if you're going to gather some (unknown) extensions into the main exe.

      PS.(keep in mind, this is not PAR approach, where huge ZIP is unpacked into %TEMP%)

        if you really want perl executable with any extension to be linked statically into the main executable

        I don't understand. There is no perl executable if Perl is statically linked into your executable.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-20 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found