On 8 July 2015 at 23:19, Nagy Tamas (TVI-GmbH) <[email protected]> wrote: > Is it a documentation mistake?
Do you have perl 5.22?
perl -MHash::Util=hash_value -E1 # Fine.
There is no mistake.
Those functions started being present in perl 5.18. If you don't have
them, you either have an older perl, or something is weird with your
@INC using files from an older perl.
IF you're not sure, pasting the output of this simple script might
help understand whats going on.
If you have a working perl 5.22 install, the results should look a
little like this:
Perl Version: 5.022000
- 1 NO:
/home/kent/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/x86_64-linux/Hash/Util.pm
- 2 NO:
/home/kent/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/Hash/Util.pm
- 3 YES:
/home/kent/perl5/perlbrew/perls/5.22.0/lib/5.22.0/x86_64-linux/Hash/Util.pm
=> version 0.18
- 4 NO: /home/kent/perl5/perlbrew/perls/5.22.0/lib/5.22.0/Hash/Util.pm
- 5 NO: ./Hash/Util.pm
--
Kent
KENTNL - https://metacpan.org/author/KENTNL
find_hash_utils.pl
Description: Perl program
-- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
