Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 having an uproarious good time at the Monastery: (12)
As of 2015-01-28 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (213 votes), past polls