Think about Loose Coupling | |
PerlMonks |
Re^2: Testers needed: autodie 1.10 beta released - It's Fatal 2.0!by pjf (Curate) |
on Jun 24, 2008 at 13:45 UTC ( [id://693738]=note: print w/replies, xml ) | Need Help?? |
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:
Alternatively, you can use a more traditional use lib to ensure Perl looks in your appropriate site_lib first. Many thanks,
Paul Fenwick Perl Training Australia
In Section
Meditations
|
|