Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Validating hash values

by tye (Sage)
on Sep 16, 2000 at 03:18 UTC ( [id://32762]=note: print w/replies, xml ) Need Help??


in reply to Validating hash values

sub MysqlIN { my %dateparts= ( YEAR => '', MONTH => '', DAY => '', @_ ); my $element; foreach $element ( keys %dateparts ) { if ( 0 < $dateparts{$element} ) { die "Invalid date value"; } } my $mysqldate= join "-", @dateparts{qw(YEAR MONTH DAY)}; return $mysqldate; }

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found