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.
In reply to Re^3: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
by runrig
in thread Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |