Harry Putnam wrote: > So it needs to be up to the user but most often any files in the > directory will not be of concern.
Well, if you're not worried about hidden files, you could use glob: my $count = scalar glob( "$dir/*" ); -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/