Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Howto count elements within an interval

by bibliophile (Parson)
on Nov 05, 2010 at 19:22 UTC ( #869733=note: print w/replies, xml ) Need Help??


in reply to Re^3: Howto count elements within an interval
in thread Howto count elements within an interval

Take a look at at 591877.

For some quick how-do-I-do-X, try http://www.cs.mcgill.ca/~abatko/computers/programming/perl/howto/hash/
A really easy introduction to hashes: http://www.devdaily.com/perl/perl-array-hash-tutorial-examples
This looks interesting: http://www.perl.org/books/beginning-perl/
...and, of course, the "Learning Perl" book http://oreilly.com/catalog/9780596520113 by merlyn

-bib

  • Comment on Re^4: Howto count elements within an interval

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://869733]
help
Chatterbox?
[atcroft]: .oO(It is a well-known, well-tried module that has probably encountered more corner-cases and oddities than the average mortal programmer can imagine when trying to roll their own...)
[atcroft]: .oO(*Blah* It, I meant....)
[james28909]: omg
[james28909]: im just finding out that july and august have 31 days?
[atcroft]: stevieb: Apparently it was contagious....
[atcroft]: james28909: Make both hands into fists, place them together (with thumbs concealed), and every knuckle is a month (starting with Jan.) has 31 days, every dip (between knuckles) does not....
[atcroft]: (And Feb. is the odd case, because it is 28, unless it is a year divisible by 4, or if it is divisible by both 100 and 400 (at which point it is 29).)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2017-04-29 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.