Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Exception error in perl code

by grep (Monsignor)
on Jun 26, 2009 at 15:15 UTC ( #775089=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Uncaught exception from user code: Day '0' out of range 1..31
    Line 405 in the program points to "return timelocal(0, 0, 0, @dmy) / (
    +24 * 60 * 60);
    
  2. or download this
    $time = timelocal($sec,$min,$hour,$mday,$mon,$year);
    
  3. or download this
    use Data::Dumper;
    print Dumper \@dmy;
    return timelocal(0, 0, 0, @dmy) / (24 * 60 * 60);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://775089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2021-09-23 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?