Re: number of files in a dir

2004-04-23 Thread John W. Krahn
Karl wrote: > > Hi all. Hello, > Is there a module or function which will return the number of files in a dir > or at least have similar results as > > ls -1 | wc -l For the same results as above: my $number_of_files = () = <*>; However that also includes dire

Re: number of files in a dir

2004-04-23 Thread Wiggins d Anconia
> Hi all. > > Is there a module or function which will return the number of files in a dir > or at least have similar results as > > ls -1 | wc -l > perldoc -f opendir perldoc -f readdir http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

number of files in a dir

2004-04-23 Thread Karl
Hi all. Is there a module or function which will return the number of files in a dir or at least have similar results as ls -1 | wc -l Tks -- Karl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn