|
From: | Johan Lindström |
Subject: | OT: Re: traverse a directory |
Date: | Sat, 05 Jan 2008 17:47:36 +0000 |
At 04:51 2008-01-03, Xah Lee wrote:
In Perl, it's done with File::Find qw(find), like this: find(\&myfun, $mydir); which is quite fucked up.
Yes, that interface surely shows its age. For a nicer experience, try: http://search.cpan.org/perldoc?File::Find::Rule or possibly http://search.cpan.org/perldoc?File::Finder /J
[Prev in Thread] | Current Thread | [Next in Thread] |