Name: Anonymous 2011-11-13 1:23
@files = <data/blogs/*>;
$i=$#files;
while ($i > $#files - 5 and $i >= 0) {
$file = @files[$i];
open F, "$file/blogdata" or die $!;
The folders are numbered 0, 1, 2 etc... however, it can only open the first 2 and otherwise breaks without output of any kind.
$i=$#files;
while ($i > $#files - 5 and $i >= 0) {
$file = @files[$i];
open F, "$file/blogdata" or die $!;
The folders are numbered 0, 1, 2 etc... however, it can only open the first 2 and otherwise breaks without output of any kind.