Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^8: Perl app won't compile /run from cron

by dazz (Beadle)
on May 27, 2018 at 09:12 UTC ( [id://1215266]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Perl app won't compile /run from cron
in thread Perl app won't compile /run from cron

Hi OK I have not used cpan correctly.
I have never heard of local::lib or @INC until this thread.
I did find cpan variables in my .bashrc file and removed them.
I did run  cpan > o conf init.
There was no option asked that mentioned "bootstrap".
On completion of the command .bashrc remained clear of any perl stuff.

If it isn't a bug it is a bad design. It shouldn't be so difficult to do something so simple.

Dazz

Replies are listed 'Best First'.
Re^9: Perl app won't compile /run from cron
by hippo (Bishop) on May 27, 2018 at 10:24 UTC
    I have never heard of local::lib or @INC until this thread.

    @INC is mentioned in the FAQ, perlrun, the documentation for lib and, of course perlvar. I'm slightly surprised that you've read none of these yet.

    It shouldn't be so difficult to do something so simple.

    Where's the difficulty? Just set up your environment properly as outlined in Re: Perl app won't compile /run from cron and you're there.

Re^9: Perl app won't compile /run from cron
by marto (Cardinal) on May 27, 2018 at 09:20 UTC

    It's neither a bug nor bad design. You're using tools without understanding how they work, and then declaring bugs where none exist when things don't work as you imagine they should.

Re^9: Perl app won't compile /run from cron
by Corion (Patriarch) on May 27, 2018 at 09:16 UTC

    Your configuration of the CPAN client and setup does not live in your .bashrc file but likely in ~/.cpan/CPAN/MyConfig.pm. If you erase that, CPAN will likely ask you again, which install method you prefer for modules.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found