use strict and warnings. I get warning messages when I compile your code:
You should eliminate the warnings before proceeding.perl -wc -Mdiagnostics 830638.pl
Also, consider using one of the many CPAN Date modules. Date::Calc has a "How do I compare two dates?" recipe.
In reply to Re: if && condition not working
by toolic
in thread if && condition not working
by rakheek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |