in reply to Initialised values that fail to initialise..?

As far as I can tell, the value of $current is initialised on line 49 ... or do I have scoping issues outside of the while loop ?

The behavior you are noticing has nothing to do with DBI ,but rather as you have guessed, with scoping. perlintro - variable scoping will be a better place to start to look for information, after which you might want to read Coping with Scoping as well... hope this helps

-enlil

  • Comment on Re: Initialised values that fail to initialise..?