Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Matching numeric value between two digits

by 7stud (Deacon)
on Feb 05, 2013 at 00:43 UTC ( #1017035=note: print w/ replies, xml ) Need Help??

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.

Comment on Re: Matching numeric value between two digits
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-11-30 02:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (756 votes), past polls