in reply to Re^2: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
in thread Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
Isn't while (@files) a valid statement meaning iterate on every item of array @files?
It is a valid statement, but it does not mean what you think it means. It iterates as long as @files is true, i.e., forever (since you do not modify @files). Again, I implore you to go read perlsyn (and/or a good perl book) and learn something.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
by Nik (Initiate) on Dec 31, 2007 at 21:25 UTC | |
by Joost (Canon) on Dec 31, 2007 at 21:32 UTC | |
by Fletch (Bishop) on Dec 31, 2007 at 23:27 UTC | |
by Nik (Initiate) on Jan 01, 2008 at 21:50 UTC | |
by Anonymous Monk on Jan 02, 2008 at 12:24 UTC | |
by jettero (Monsignor) on Dec 31, 2007 at 21:32 UTC | |
by Nik (Initiate) on Jan 01, 2008 at 21:43 UTC |