Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Decimal Array range

by Anonymous Monk
on Dec 21, 2010 at 10:42 UTC ( #878214=note: print w/ replies, xml ) Need Help??


in reply to Decimal Array range

Range operator only deals with integers

@array = map { 5 + ($_/100) } 1 .. 100;

I am really trying to do this with time ranges, say from 1pm to 11pm but not sure that is possible either.

DateTime::Event::Recurrence? DateTime::Event::Cron? Date::Manip::Recur?


Comment on Re: Decimal Array range
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2015-03-31 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (673 votes), past polls