Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perl DBI NULL and undef

by mje (Curate)
on Sep 03, 2012 at 15:27 UTC ( #991453=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    SQL> create table mje (a int, b varchar(10) null default null);
    SQLRowCount returns -1
    ...
    +------------+-----------+
    SQLRowCount returns -1
    3 rows fetched
    
  2. or download this
    perl -MDBI -le 'my $h = DBI->connect; use Data::Dumper; my $r = $h->se
    +lectall_arrayref("select * from mje");print Dumper($r);'
    $VAR1 = [
    ...
                undef
              ]
            ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991453]
help
Chatterbox?
Ratazong takes a cookie from the platter on the sideboard.
Ratazong adds shortbread cookies to the platter on the sideboard.
[Lady_Aleena]: Hi Ratazong.
[Ratazong]: Hi Lady Aleena

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-04-26 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.