Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

(ar0n) Re: Validating hash values

by ar0n (Priest)
on Sep 16, 2000 at 03:24 UTC ( [id://32765]=note: print w/replies, xml ) Need Help??


in reply to Validating hash values

tye beat me to it. see his post above. oh well, just ignore me :)

I'd change
my $mysqldate = join ("-", $dateparts{YEAR}, $dateparts{MONTH}, $datep +art{DAY});
into
my $mysqldate = join ("-", @dateparts{ qw(YEAR MONTH DAY) });
@dateparts{qw(YEAR MONTH DAY)} is just an easier way of saying
@dateparts{("YEAR", "MONTH", "DAY")}
which is an easy way of saying
($dateparts{YEAR}, $dateparts{MONTH}, $datepart{DAY})

-- ar0n (just another perl joe)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found