Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: A question to iterator in Datetime::Event::Recurrence

by vagabonding electron (Hermit)
on Apr 11, 2012 at 12:05 UTC ( #964526=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
        print "$start\n" if $start->hour > 6 and $start->hour < 23;
        $start->add( hours => 1 );
    }
    
  2. or download this
    $set = DateTime::Set->from_recurrence( 
            after => $start, 
    ...
    {
            print $dt->ymd;
    };
    
  3. or download this
    my $set2 = $set->grep( 
            sub {
    ...
    {
            print $dt->ymd;
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-08-31 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls