Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Determine if a given DateTime is a member of a DateTime::Set

by eibwen (Friar)
on May 12, 2013 at 21:42 UTC ( #1033231=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    # ...
    
    done_testing();
    
  2. or download this
    FIRST 5 ELEMENTS OF SET
    2013-05-12T00:00:00
    ...
    ok 5 - 2013-06-09 *IS* the bi-weekly set
    1..5
    # Looks like you failed 2 tests of 5.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1033231]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2023-03-27 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?