Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: stupid mistake in DBI code

by fidesachates (Monk)
on Apr 26, 2011 at 16:24 UTC ( [id://901392]=note: print w/replies, xml ) Need Help??


in reply to Re: stupid mistake in DBI code
in thread stupid mistake in DBI code

I misdiagnosed his problem because of the lack of indentation. On a side note, I found vim does a great job of indenting code for you.
1) :set filetype=perl 2) :filetype indent on 3) :e 4) gg=G

Replies are listed 'Best First'.
Re^3: stupid mistake in DBI code
by cliffrubinmusic (Novice) on Apr 26, 2011 at 17:01 UTC
    Thanks folks, I appreciate you taking the time. I found the error; I'm emptying @values right after i fill it. Blessings; Cliff
Re^3: stupid mistake in DBI code
by runrig (Abbot) on Apr 26, 2011 at 16:59 UTC
    This is also easy to do in Vi or Vim:
    :%!perltidy
    You could even create a shortcut to make it even easier :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-24 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found