in reply to potential date and time issues / code cleanup

I like Date::Manip to handle date and time issues (Date::Manip).

I am not sure if this is intentional but
if ($hour == 17 && $min ==0 && min !=30)

min !=30 could be a typo for $min !=30
but is $min !=30 not always true if $min ==0 ?

Replies are listed 'Best First'.
Re^2: potential date and time issues / code cleanup
by Conal (Beadle) on Mar 23, 2008 at 17:29 UTC
    ha .. good spot walto .. thankyou! guess that relatively minor issue infers most of the other code is pretty ok.. heh .. ? ;p

    thanks to everyones reply ..i have a few ideas now for when i go back at my code.

    conal.