Thanks a lot for Your Help during these months (especially for Your good
solutions to my problems).
Best wishes for Merry Christmas and Happy New Year !!
Bye
Angelo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
um_files = -1;
>
> print $q->header("text/html");
>
> local *DIR;
> opendir (DIR, $dir);
> $num = $num_files++ while readdir (DIR);
> closedir DIR;
> print $num;
does glob() work on windoze? ie.-
my @files = glob('c:\...\temp\*.*');
print "number
--- [EMAIL PROTECTED] wrote:
> Hi to All,
> I' d like to know if it' s possible to count the exact number of files
> inside a certain directory, using a way better than this:
perl -e 'opendir D,".";$count=grep{-f}readdir D;print $count'
That break
ir (DIR, $dir);
$num = $num_files++ while readdir (DIR);
closedir DIR;
print $num;
I' ve used "grep -f " without results.
Thanks in advance for Your Help !!
Bye
Angelo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]