Have you run the code without doing anything with DBI in the while or
foreach?
That is, why blame the DBI?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Dan Jablonsky
Sent: Friday, November 24, 2000 11:48 AM
To: [EMAIL PROTECTED]
Subject: while loop and DBI
Hi all,
I don't want to enter the details now. All I can see
right now can be put simply like this:
I start a while loop, I go through some directories as
I find them, and if a directory contains what I'm
looking for I read and write something in the
database.
What drives me nuts now is that the while loop
executes nicely if I pass from one directory to the
next as long as I dont find anything, when finally I
get the first read/write to the database it just dies
at the end of the loop and never gets to the next
directory.
What's strange is that even if I put all my directory
names in an array and implement a foreach or a for
$i=0 to $#array, the same thing happens: as soon as
the program writes to the database it exits the for
loop.
I know it's too litlle info, however, I wonder if
there something very basic I'm missing in the use of
DBI,
Anybody any ideas?
Thanks, Dan
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users