unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Johan Lindström <johanl@DarSerMan.com>
To: help-gnu-emacs@gnu.org
Subject: OT: Re: traverse a directory
Date: Sat, 05 Jan 2008 17:47:36 +0000	[thread overview]
Message-ID: <E1JBD7q-0007UQ-8d@lists.gnu.org> (raw)
In-Reply-To: <bf802645-6c07-46d6-b968-1067c1ff4c7f@d21g2000prf.googlegro ups.com>

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

  parent reply	other threads:[~2008-01-05 17:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-01 16:51 traverse a directory Xah Lee
2008-01-01 20:22 ` Eli Zaretskii
2008-01-02  5:43 ` Mike Mattie
     [not found] ` <mailman.5612.1199252679.18990.help-gnu-emacs@gnu.org>
2008-01-02 18:03   ` Joel J. Adamson
2008-01-02 19:04     ` Mike Mattie
     [not found]     ` <mailman.5637.1199300789.18990.help-gnu-emacs@gnu.org>
2008-01-02 19:25       ` Joel J. Adamson
2008-01-03  5:51         ` Xah Lee
2008-01-03 11:16           ` Alexey Pustyntsev
2008-01-03 16:25           ` Joel J. Adamson
     [not found]           ` <bf802645-6c07-46d6-b968-1067c1ff4c7f@d21g2000prf.googlegro ups.com>
2008-01-05 17:47             ` Johan Lindström [this message]
2008-01-05  0:46         ` Mike Mattie
     [not found] ` <mailman.5595.1199218943.18990.help-gnu-emacs@gnu.org>
2008-01-03  4:30   ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JBD7q-0007UQ-8d@lists.gnu.org \
    --to=johanl@darserman.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).