in reply to Last day of the month. Any shorter

$ARGV[ 0 ] =~ m[^(\d{4})(\d{2})(\d{2})] or die "Bad date: $ARGV[ 0 ]"; print "$ARGV[0] is NOT a month end day" if $3-28-substr(' 303232332323',$2,1)-($2==2and not$1%4xor$1%100xo +r$1%400);

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re: Re: Last day of the month. Any shorter
by Scarborough (Hermit) on May 19, 2004 at 13:36 UTC
    Very, Very good 2 months ago I would have sratched and gone back to bed but at least I know what I'm looking at now. Thanks.