in reply to Re: Testers needed: autodie 1.10 beta released - It's Fatal 2.0!
in thread Testers needed: autodie 1.10 beta released - It's Fatal 2.0!
Aha! My guess is this is going to be an @INC problem. autodie provides a heavily modified but backwards compatible Fatal.pm, which will be installed into your site_perl.
If you're using a version of Perl where site_perl is checked before your core modules, autodie should work fine. If not (and most distros are not), then autodie will try and load the core Fatal, and fail.
I've added detecting and fixing this to my TODO list. In the meantime, you should be able to tell Perl to search your site_perl first. The following should work on any unix-like system:
export PERL5LIB=`perldoc -l autodie | perl -pe's{[^/]*$}{};'`
Alternatively, you can use a more traditional use lib to ensure Perl looks in your appropriate site_lib first.
Many thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Testers needed: autodie 1.10 beta released - It's Fatal 2.0!
by pht (Acolyte) on Jul 05, 2008 at 20:09 UTC | |
by pjf (Curate) on Jul 07, 2008 at 14:11 UTC |