I don't understand why accessing hash with $] is different from accessing with it's value (in my case 5.010000)?#!/usr/bin/perl use strict; use warnings; use Module::CoreList; use Data::Dumper; print Dumper( $] ); # Prints "5.010000" on my version of perl print Dumper( $Module::CoreList::version{ $] } ); # Prints undef print Dumper( $Module::CoreList::version{ "$]" } ); # Prints undef print Dumper( $Module::CoreList::version{ 5.010000 } ); # Prints "correct" list ...
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |