Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^4: ack 2.0 has been released (?wishlist?)

by petdance (Parson)
on Apr 29, 2013 at 16:35 UTC ( #1031259=note: print w/replies, xml ) Need Help??

in reply to Re^3: ack 2.0 has been released (?wishlist?)
in thread ack 2.0 has been released

You do realize that ack's filetype detection is A) nothing at all related to MIME::Type, and B) entirely based on user-created rules, right? ack ships with sensible defaults, but they're still user-defined rules.

If it's File::Find that you are fighting with, then why not take a look at File::Next, which is the underlying file-finding engine that ack uses?

When I asked about use cases, I should have been more clear: Have you actually written code where you shell out to ack to get filenames? Or had it give you search results? What did you do with the search results then?

Is it too obvious? Too useful?

I don't understand what you're asking here.

If you'd really like to get some traction on some sort of ack API, please go create a ticket in the GitHub issue tracker at


  • Comment on Re^4: ack 2.0 has been released (?wishlist?)

Replies are listed 'Best First'.
Re^5: ack 2.0 has been released (?wishlist?)
by Anonymous Monk on Apr 29, 2013 at 18:50 UTC


    No thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031259]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-06-23 20:28 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.