use DateTime::Event::Random; use strict; my $dt; if (exists (USPS)) { # they could be bankrupt do { $dt = DateTime::Event::Random->datetime( after => DateTime->now ) +; } until $dt->day_of_week != 7; # sunday } else { print "Never, sorry\n"; }
fnord
In reply to Re^2: Approximate Delivery Date from USPS---OT rant
by Illuminatus
in thread Approximate Delivery Date from USPS
by remya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |