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

Re^4: SQL Database Table to Perl Script

by prithviraj (Novice)
on Oct 05, 2012 at 09:33 UTC ( #997417=note: print w/replies, xml ) Need Help??


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

+ sign is displayed in 2 lines. When I did paste my program in the discussion box, it received like that. Take off that + sign and execute. You might be executing it in a different database. Put that database name and execute. You will get the o/p.
  • Comment on Re^4: SQL Database Table to Perl Script

Replies are listed 'Best First'.
Re^5: SQL Database Table to Perl Script
by marto (Bishop) on Oct 05, 2012 at 09:44 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997417]
help
Chatterbox?
[LanX]: hmm aproval doesn't stick after move? Or was it a race condition
[Corion]: I think you need at least one reload after moving before you can approve in the correct section
[GotToBTru]: it was approved . but isnt now
[GotToBTru]: ah nevermind .. i was looking at one of 2
[GotToBTru]: SOPW version still shows approved by choroba

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-01-16 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.