At 05:14 PM 9/3/2005, you wrote:
Not exactly. He asked for pancakes, and you gave him French
Toast. Both breakfast items, but not necessarily identical. He
wanted to convert it into a Perl script, not necessarily just invoke
it through a Perl script.
To be more precise, no, there is no tr
After several years of churning through massive amounts of ASCII with Perl,
I've ran into a stone wall when I tried to parse a exported text file from
System Information on my Win XP box. Evidently it defaults to Unicode,
which I've cheerfully ignored the last few years.
I'm using AS v5.8.3,
"Arms, Mike" wrote:
>
> use File::Find;
> find( sub { $s += (stat)[7], $n++ unless -d }, @ARGV );
> print "$n files totaling $s bytes\n";
>
> To answer Eric's question, I'm pretty sure you'll have to recurse
> through all subdirs of a particular directory adding up the
> size of all files.