Let's say you want to write some code which does I/O, but you don't want to force the caller to provide you with a FileHandle or IO::Handle object. You want them to be able to say: do_stuff(\*STDOUT); do_stuff('STDERR'); do_stuff($some_FileHandle_obj...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCThis class implements objects which behave just like FileHandle (or IO::Handle) objects, except that you may use them to write to (or read from) an array of lines. They can be tiehandle'd as well. This is a subclass of IO::ScalarArray in which the un...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCThis class is part of the IO::Stringy distribution; see IO::Stringy for change log and general information. The IO::Scalar class implements objects which behave just like IO::Handle (or FileHandle) objects, except that you may use them to write to (o...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCThis toolkit primarily provides modules for performing both traditional and object-oriented i/o) on things *other* than normal filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines. In the more-traditional IO::Handle front, we have I...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCSuppose you have a class "FooHandle", where... * FooHandle does not inherit from IO::Handle; that is, it performs filehandle-like I/O, but to something other than an underlying file descriptor. Good examples are IO::Scalar (for printing to a string) ...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCIf you have a filehandle that can seek() and tell(), then you can open an IO::InnerFile on a range of the underlying file....
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCThis module is intended for people who need to update files reliably in the face of unexpected program termination. For example, you generally don't want to be halfway in the middle of writing */etc/passwd* and have your program terminate! Even the a...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTCThis class is part of the IO::Stringy distribution; see IO::Stringy for change log and general information. The IO::ScalarArray class implements objects which behave just like IO::Handle (or FileHandle) objects, except that you may use them to write ...
DSKOLL/IO-stringy-2.111 - 22 Apr 2015 17:28:05 UTC