Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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 https://github.com/petdance/ack2/

xoxo,
Andy


Comment on Re^4: ack 2.0 has been released (?wishlist?)
Re^5: ack 2.0 has been released (?wishlist?)
by Anonymous Monk on Apr 29, 2013 at 18:50 UTC

    ...

    No thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-08-21 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls