Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^5: Perl in the Enterprise

by tsee (Curate)
on May 21, 2006 at 09:17 UTC ( #550764=note: print w/replies, xml ) Need Help??

in reply to Re^4: Perl in the Enterprise
in thread Perl in the Enterprise

Sorry, I disagree. PAR-built binaries can be built to use an external perl5X.dll or .so. Furthermore, you needn't bundle all modules you use into the binary. You can conveniently pack a set of modules into another .par file*, then ship the perl58.XXX, the library.par and any number of binary executables which use the modules in library.par and the shared library.

Now, if you say that we've just moved from a one-file distribution to a three-file distribution, well you're right, but it doesn't matter. There are virtually no substantial applications in the world that do not need a library or another. And packing three files into a .msi or .nsi installer for Windows users is not exactly daunting.

* This works as follows. Given a lib.par file containing a bunch of, say, Gtk2 modules, you can do "perl -MPAR=lib.par -e 'use Gtk2;...'". You can also "use PAR qw/lib.par/;" from your code to load the specified PAR archive and add its contents to the @INC search path. (Or actually a CODE hook, but nevermind.)

Replies are listed 'Best First'.
Re^6: Perl in the Enterprise
by apotheon (Deacon) on May 21, 2006 at 10:08 UTC

    PAR-built binaries can be built to use an external perl5X.dll or .so.

    That sorta defeats the purpose of the point I brought up about persistent binary executable compilation.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550764]
NodeReaper hides the Vote Fairy's wand

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2018-06-19 09:50 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (113 votes). Check out past polls.