It says that *** no packages installed matching 'File::Find ***
I tried this also on my Mac and it goes like this ~ > perl -File::Find -le 'print "ok"' ok ~ > cat Print_directory_sizes.pl #!/bin/perl use warnings; use strict; use File::Find; my $dir = $ARGV[0]; my $size; find( sub { -f and ( $size += -s _ ) }, $dir ); ~ > perl Print_directory_sizes.pl invalid top directory at /System/Library/Perl/5.8.8/File/Find.pm line 592. So, something is wrong here also... Thank you for your help anyway... -L 2009/3/3 Chas. Owens <chas.ow...@gmail.com> > On Tue, Mar 3, 2009 at 14:15, Lauri Nikkinen <lauri.nikki...@iki.fi> > wrote: > > Ok, I typed > > > > C:\Perl>ppm query File > > > > to see that there is no File::Find module installed. It seems that > > ActiveState does not offer it via ppm, am I right? > snip > > The name of the module is File::Find, not File. Try > > ppm query File::Find > > or > > ppm query File-Find > > -- > Chas. Owens > wonkden.net > The most important skill a programmer can have is the ability to read. >