sub recurse { my $d = shift; opendir D,$d; # who needs error checking anyways while(<D>) { if( -d $_ ){ recurse($_); else{ #regular file } } }
In reply to Re: Getting files in a directory tree
by BUU
in thread Getting files in a directory tree
by m.bedekar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |