Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Hash slice to get DB values - include undefined values?by mortis (Pilgrim) |
on Dec 11, 2001 at 19:49 UTC ( [id://130951]=note: print w/replies, xml ) | Need Help?? |
I only know how to do what you're asking in 2 steps. I usualy
do something similar to:
I'd stick with undef since you're using a database. IIRC, undef translates to NULL to indicate the absence of a value, while 0 is a value.
In Section
Seekers of Perl Wisdom
|
|