Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Can't locate .pm in @INC

by Anonymous Monk
on Nov 12, 2014 at 07:43 UTC ( [id://1106951]=note: print w/replies, xml ) Need Help??


in reply to Re: Can't locate .pm in @INC
in thread Can't locate .pm in @INC

One option for you to do is to use App::FatPacker to "pack your dependencies onto your script file". I personally haven't used this module myself.

It comes with a frontend fatpack, it doesn't work on windows (just tried it)... last time I tried it in 2012 it didn't work either ... fatpack doesn't work for windows... not even in 2010

cpanm comes packed with fatpack and it work well on windows, but fatpack doesn't work for packing stuff on windows

$ cpanm App::FatPacker App::FatPacker is up to date. (0.010002) $ cat ddenvinc.pl #!/usr/bin/perl -- use strict; use warnings; use Data::Dump; dd(\%INC); dd(\%ENV); $ fatpack trace --to-stderr ddenvinc.pl ddenvinc.pl syntax OK

Neither strict.pm nor warnings.pm nor Data/Dump.pm are mentioned, it just doesn't work

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-25 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found