Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 contemplating the Monastery: (9)
As of 2016-02-11 11:54 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (368 votes), past polls