Re: [DBI] RE: Correct way to deal with returned NULLs?

From: Dave Cash (dave_at_gnofn.org)
Date: 04/26/04

  • Next message: Rich Jesse: "RE: [DBI] RE: Correct way to deal with returned NULLs?"
    Date: Mon, 26 Apr 2004 12:42:58 -0500 (CDT)
    To: "Jesse, Rich" <Rich.Jesse@quadtechworld.com>
    
    

    On Mon, 26 Apr 2004, Jesse, Rich wrote:

    > Thanks all for your responses. We went with Michael's answer for this
    > project, although I'd probably advocate the others that checked for
    > "defined" for the future.

    In the spirit of TMTOWTDI...

    I'm not sure, but I think the following is equivalent to Michael's
    solution:

      use warnings;
      no warnings qw(uninitialized);

    Not sure what version of Perl you're using, but this is a good read
    on warnings (from the 5.8.0 docs):

      http://www.perldoc.com/perl5.8.0/pod/perllexwarn.html

    Take care,

    Dave

    > Thanks again!
    > Rich
    >
    > Rich Jesse System/Database Administrator
    > rich.jesse@quadtechworld.com QuadTech, Sussex, WI USA
    >
    >
    > > -----Original Message-----
    > > From: Michael Ragsdale [mailto:mragsdal@utk.edu]
    > > Sent: Monday, April 26, 2004 10:29 AM
    > > To: Jesse, Rich
    > > Subject: Re: Correct way to deal with returned NULLs?
    > >
    > >
    > > You can place the following near the beginning of your script
    > > to eliminate
    > > those messages:
    > >
    > > $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~
    > > /uninitialized value/ };


  • Next message: Rich Jesse: "RE: [DBI] RE: Correct way to deal with returned NULLs?"

    Relevant Pages

    • RE: [DBI] RE: Correct way to deal with returned NULLs?
      ... > To: Jesse, Rich ... >> Thanks all for your responses. ... > no warnings qw; ...
      (perl.dbi.users)
    • Re: bullshit: was/Re: we kill because etc.
      ... Dubya and his plutocratic Cabal did and they did it ... ONE OF LOVE G - Rich in Spirit ... ll: & their suffering cannot be felt in our bones:ll (repeat line) ...
      (alt.gathering.rainbow)
    • Re: "Poor in spirit" [Was:Re: traduttore traditore]
      ... envy those poor in spirit who can be healed by the power of prayer, or those who mourn and are comforted by "I shall not want". ... you're having such a rotten life; there's a better life to come." ... revolution was that the church was getting too rich. ...
      (alt.usage.english)
    • Re: sorrow
      ... Rich in Spirit wrote: ... Cause n the Cure - Rich in Spirit ... Perhaps you are the social kind / You don't like to feel alone ...
      (alt.gathering.rainbow)
    • Re: peace
      ... I think understanding requires love, ... Loving you, Rich in Spirit. ... Many loves and blessings sent your way dear Rich in Spirit, ...
      (alt.gathering.rainbow)