Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Handling Null or Undef values in DBI (and things of those nature)...

by data67 (Monk)
on Jan 08, 2002 at 05:10 UTC ( #137019=note: print w/replies, xml ) Need Help??


in reply to Re: Handling Null or Undef values in DBI (and things of those nature)...
in thread Handling Null or Undef values in DBI (and things of those nature)...

Can you please give me an example or two on your seggestions.

As far as my first question i got it done by doing this

while (@row = $sth->fetchrow_array) { foreach (@$row) { $_ = '' unless defined; ### HANDLE NULL FIELDS } }
  • Comment on Re: Re: Handling Null or Undef values in DBI (and things of those nature)...
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-08-16 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?