Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^5: Top 10 reasons to start using ack

by diotalevi (Canon)
on Nov 30, 2006 at 05:39 UTC ( #586868=note: print w/replies, xml ) Need Help??

in reply to Re^4: Top 10 reasons to start using ack
in thread Top 10 reasons to start using ack

You can't extract a file at a time out to a temporary directory using File::Temp? Or even better - don't even write it back to disk.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

  • Comment on Re^5: Top 10 reasons to start using ack

Replies are listed 'Best First'.
Re^6: Top 10 reasons to start using ack
by petdance (Parson) on Nov 30, 2006 at 05:41 UTC
    Heck, your program doesn't even handle tarballs anyway! :-)

    The other thing is that this stops ack from being pure Perl and totally cross-platform.


      I don't think that's a reason to omit the feature, it just needs some care and maybe not everyone can use the feature. There's plenty of goodness available by reading from a "gunzip -c" stream and only slightly less by reading from Archive::Tar::Streamed. Sometime within the last month I wrote an iterator to read file by file from a tarball using that module but without any hoops to jump through. It's all easy.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

        At this point, the big reason not to add the feature is that only one person has asked for it.


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2023-12-04 09:31 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (23 votes). Check out past polls.