Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Trouble finding modules from cron

by afoken (Chancellor)
on Apr 13, 2017 at 04:30 UTC ( [id://1187820]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/sh
    perl -I /some/special/libpath:/another/special/libpath "$@"
    
  2. or download this
    #!/bin/sh
    exec perl -I /some/special/libpath:/another/special/libpath "$@"
    
  3. or download this
    #!/bin/sh
    exec /usr/local/perl-5.42.99/bin/perl -I /some/special/libpath:/anothe
    +r/special/libpath "$@"
    
  4. or download this
    #!/usr/local/perl-5.42.99/bin/perl 
    use lib '/some/special/libpath','/another/special/libpath';
    
    # rest of the script here, unmodified
    
  5. or download this
    #!/usr/local/perl-5.42.99/bin/perl 
    use lib '/some/special/libpath','/another/special/libpath';
    require '/path/to/real/script.pl';
    
  6. or download this
    #!/usr/local/perl-5.42.99/bin/perl 
    use lib '/some/special/libpath','/another/special/libpath';
    ...
        die "Could not parse script: $@" if $@;
        die "Could not read script: $!";
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found