http://www.perlmonks.org?node_id=1017035


in reply to Matching numeric value between two digits

use 5.012; my $num = 2; if ($num => 2) { say 'yes'; } $num = 1; if ($num => 2) { say 'yes'; } --output:-- yes yes
my %hash = ( 'a' => 2, 'b' => 3, 'c' => 4, ); use Data::Dumper; say Dumper(\%hash); --output:-- $VAR1 = { 'c' => 4, 'a' => 2, 'b' => 3 };
Another problem with your code is: you misspelled greater-than-or-equal-to.