$count = 0; while(my $file = readdir(DIR)) { print "$file "; # can change \n to </tr><tr> here. remember # to surround the while with <tr> and </tr> print "\n" unless (++$count % 5); }
In reply to Re: reading all images in a directory
by izut
in thread reading all images in a directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |