Commits

Shlomi Fish  committed 2be3aa3

Add more.

  • Participants
  • Parent commits ecc410b

Comments (0)

Files changed (1)

File App-Countdown/lib/App/Countdown.pm

     }
     else
     {
-        Carp::confess ("Invalid delay. Must be a positive integer.");
+        die "Invalid delay. Must be a positive and possibly fractional number, possibly followed by m or h";
     }
 }
 
         $self->_calc_delay($delay)
     );
 
-    $self->_delay($delay);
-
     return;
 }