From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan Lindström Newsgroups: gmane.emacs.help Subject: OT: Re: traverse a directory Date: Sat, 05 Jan 2008 17:47:36 +0000 Message-ID: References: <5f20a79c-c1fc-4853-b55f-657f6d66f0e9@l6g2000prm.googlegroups.com> <87prwkw1dw.fsf@W0053328.mgh.harvard.edu> <873atgvxm7.fsf@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: ger.gmane.org 1199555344 31486 80.91.229.12 (5 Jan 2008 17:49:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 17:49:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 18:49:25 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBD9B-0007Zl-9T for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2008 18:49:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBD8o-0007mD-ON for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2008 12:49:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBD7s-0007VJ-8W for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 12:48:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBD7q-0007UQ-8d for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 12:48:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBD7p-0007UC-Sc for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 12:48:01 -0500 Original-Received: from mail1.melmac.se ([194.23.215.40]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JBD7p-00010c-Ej for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 12:48:01 -0500 Original-Received: (qmail 31264 invoked by uid 89); 5 Jan 2008 17:47:56 -0000 Original-Received: from 87-194-221-83.bethere.co.uk (HELO JpL.DarSerMan.com) (johanl@darserman.com@87.194.221.83) by mail1.melmac.se with ESMTPA; 5 Jan 2008 17:47:56 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 In-Reply-To: Original-References: <5f20a79c-c1fc-4853-b55f-657f6d66f0e9@l6g2000prm.googlegroups.com> <87prwkw1dw.fsf@W0053328.mgh.harvard.edu> <873atgvxm7.fsf@W0053328.mgh.harvard.edu> X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50517 Archived-At: 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