So List::Util is in there on my platform right enough
Aaah ... cool.
AFAICS, this absurd dependency is not present in perl-5.36.0 - on both Windows and freebsd-12.0.
On Windows (perl-5.36.0), your script outputs:
Loading File/Copy.pm
Loading builtin.pm
Loading overload.pm
Loading overloading.pm
Loading warnings/register.pm
Loading File/Spec.pm
Loading File/Spec/Win32.pm
Loading Cwd.pm
Loading Exporter.pm
Loading XSLoader.pm
Loading File/Spec/Unix.pm
Loading constant.pm
Loading Config.pm
Loading Time/HiRes.pm
Loading Carp.pm
On freebsd (5.36.0), it's exactly the same - except that Carp.pm and File/Spec/Win32.pm are not loaded, and Exporter/Heavy.pm is loaded.
I'm sure there's a module for this but I can neither remember nor find it just now
I reckon the code you posted is much clearer for
not having loaded that module (whatever it is ;-)
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.