Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl DBI NULL and undef

by mje (Deacon)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-08-27 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (248 votes), past polls