Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Beware List::MoreUtils natatime()!

by JavaFan (Canon)
on Feb 10, 2009 at 07:55 UTC ( #742690=note: print w/replies, xml ) Need Help??


in reply to Re^2: Beware List::MoreUtils natatime()!
in thread Beware List::MoreUtils natatime()!

Looking into the source of List::MoreUtils, I find:
require Carp; Carp::croak "some message";
That only works if Carp was already loaded. In older versions of Perl, there was a common pragma (vars?) that loaded it, but that no longer is loaded in 5.10.

Hence the error. And another reason to not use List::MoreUtils.

Replies are listed 'Best First'.
Re^4: Beware List::MoreUtils natatime()!
by diotalevi (Canon) on Feb 10, 2009 at 08:03 UTC

    This fix is so trivial, it's not a real reason to avoid it.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      The natatime function is so trivial to write, there being a trivial fix is not a real reason to use a broken module.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2019-06-19 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (83 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!