Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • .. and the reason I'm interested in alternatives, is the option to specify file extensions (or more general: file name patterns) for the files to search in, specifically for recursive mode.

    grep depends on the shell to expand globs into a list of filenames, and this breaks down when your start descending into directories.
    • There's nothing wrong with grep. However, it's a different tool that attempts to satisfy a different need. I often want to search parts of a Perl document without searching all of it. Being able to search just through DATA sections or perhaps dump all regular expressions can be hand. You may have different needs. As time goes on, I'll be adding new features and it will be even more useful.

      Also, I was going to add file extension support, but I decided to put that off as "not needed" for the first iteration. You could just use find and pipe the results through.

      Patches welcome :)