File-ReadBackwards reviews

cpanratings
 

RSS | Module Info | Add a review of File-ReadBackwards

File-ReadBackwards (1.05) ****

At the time of this review, I find two modules for reading a file backwards: File::Bidirectional (FBidi) and File::ReadBackwards (FRB).

Both modules have roughly the same footprint and minimal dependencies. Both provide OO as well as tie interface. Both respect the $/ setting.

FRB pro's:
- FRB is 15-20% faster than FBidi when reading backwards;

FRB con's:
- does not offer the feature of reading forward as well, but of course this is not the goal of the module.

FBidi's POD contains information on benchmarks (it's roughly an order of magnitude slower than raw Perl's open+read/diamond operator, still the case in 2014). While FRB's POD contains information on how the thing works behind the scenes.

In summary, both modules are roughly the same. I'd prefer FRB unless in the rarer cases where I need bidirectional reading.

File-ReadBackwards (1.04) ****

Nice module, easy to use. I have found that it will sometimes crash when you close its handle, though.