Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Packaging for Perl Code

by tobyink (Abbot)
on Sep 23, 2013 at 14:26 UTC ( #1055293=note: print w/replies, xml ) Need Help??


in reply to Packaging for Perl Code

Sys::Info::OS seems to load additional OS-specific modules at runtime. pp is not able to detect that it needs these when you're packaging, so you need to list them explicitly (-M option).

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^2: Packaging for Perl Code
by Ralesk (Pilgrim) on Sep 25, 2013 at 19:19 UTC

    And in the case of ActiveState PerlApp, --add "SomeThing::Foo".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055293]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-02-23 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (338 votes). Check out past polls.