IO-String reviews

cpanratings
 

RSS | Module Info | Add a review of IO-String

IO-String (1.08) ****

Normally, I prefer to just use the "ref for filename" version of open available in perl 5.8, but I'm often stuck working in perl 5.6, where this module can do just what you need. I've used it time and time again to replace passed-around filehandles with IO::String objects containing data retrieved in some other way.

Ricardo Signes - 2007-05-08T18:36:41 (permalink)

4 out of 4 found this review helpful. Was this review helpful to you?  Yes No

IO-String (1.08) *****

This is very similar to another class IO::Scalar that comes in the io-stringy package of handle-munging modules.

But having used both extensively, let me say that this is FAR more accurate. It looks and acts exactly like an IO::Handle, even to the point of correct seeking and seek-after-end automated-null-inserts behavior.

IO::Scalar has a number of ugly things that means it doesn't behave like an IO::Handle when you really really need it to be exactly like a real handle.

So don't use IO::Scalar, use this. It seriously kicks ass.

Adam Kennedy - 2006-01-10T09:03:36 (permalink)

5 out of 5 found this review helpful. Was this review helpful to you?  Yes No

IO-String (1.05) ****

Useful when some module with a poor API needs a file handle and all you've got is a string.

Johan Lindström - 2004-07-15T05:13:42 (permalink)

Was this review helpful to you?  Yes No