in reply to Re: How to reverse a huge file in Perl?
in thread How to reverse a huge file in Perl?

It's much faster than using Perl and File::ReadBackwards:

True if the only aim is to reverse the file.

If however, the aim is to process the data in the file in the reverse order using perl, you'd have to compare F::RB with using tac and then reading every record in the file using Perl.

Also, how many lines are there in your test file?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^2: How to reverse a huge file in Perl?