Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Saving data to XML file using DBD::AnyData

by snoopy (Deacon)
on Dec 04, 2009 at 07:02 UTC ( #811030=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Carp;
    $SIG{__DIE__} = \&Carp::confess;
    
  2. or download this
          my $sth = $dbh->prepare("SELECT 1 FROM $table_name") or die DBI-
    +>errstr;
    
  3. or download this
    use common::sense;
    use SQL::Statement;
    ...
        warn "trying: $_";
        my $stmt = SQL::Statement->new($_,$parser);
    }
    
  4. or download this
    trying: SELECT 1+0 FROM some_table at sql.pl line 10.
    trying: SELECT 1 FROM some_table at sql.pl line 10.
    Bad table or column name: '1' starts with non-alphabetic character! at
    + /usr/local/share/perl/5.10.0/SQL/Parser.pm line 2894.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-09-20 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls