Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-08-23 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls