in reply to Re^4: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
in thread Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
Anway: an array only becomes false when it's empty. while (@array) will either not loop at all if the array is empty or loop forever until the array is empty.
while (<filehandle>) is a special case. all other construct with while(something) just test if something is true.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
by Fletch (Bishop) on Dec 31, 2007 at 23:27 UTC | |
|
Re^6: Error in insertion of MULTIPLE FILENAMES & CONTENTS INTO DATABASE
by Nik (Initiate) on Jan 01, 2008 at 21:50 UTC | |
by Anonymous Monk on Jan 02, 2008 at 12:24 UTC |