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

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

by hdb (Monsignor)
on May 13, 2013 at 08:48 UTC ( [id://1033266]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    </#!/usr/bin/perl -w
    ...
    my $set4 = DateTime::Set->from_datetimes( dates => [ $date3 ] );
    print $biweekly->contains( $set4 ), "\n"; # gives 1 wrong!
    print $set4->contains( $biweekly ), "\n"; # gives a warning
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found