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

Re^5: SQL Database Table to Perl Script

by marto (Bishop)
on Oct 05, 2012 at 09:44 UTC ( #997421=note: print w/ replies, xml ) Need Help??


in reply to Re^4: SQL Database Table to Perl Script
in thread SQL Database Table to Perl Script

Thank you, I'm well aware how this site works with regards posting and displaying code. If you click the download link provided you get the code exactly as you have submited it to the site.

This confusion aside, here's a couple of points:

  • You're ignorning the fact that I call your example with -c, meaning I'm compiling it only, not running it. I don't execute it. Your statement regards different databases is irrelivant. See perlrun, look for -c
  • You're either ignoring or don't understand the error messages I posted, which clearly show that the $dbh variable has not been declared as my $dbh. See strict.

The example you posted DOES NOT WORK. You must be running code which is different to the code you posted.


Comment on Re^5: SQL Database Table to Perl Script
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-12-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls