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