Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Exception error in perl code

by grep (Monsignor)
on Jun 26, 2009 at 15:15 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 22:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found