Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Trouble finding modules from cron

by afoken (Chancellor)
on Apr 13, 2017 at 04:30 UTC ( #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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2023-12-10 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (38 votes). Check out past polls.

    Notices?