summaryrefslogtreecommitdiff
path: root/devel/p5-IO-stringy/pkg/DESCR
blob: cebd2d127d8f14caffb9e9b3365ce98b158ddf67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  This 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.

  If you have access to tie(), these classes will make use of the
IO::WrapTie module to inherit a convenient new_tie() constructor.
It also exports a nice wraptie() function.

  In the more-traditional IO::Handle front, we have IO::AtomicFile which
may be used to painlessly create files which are updated atomically.

  And in the "this-may-prove-useful" corner, we have IO::Wrap, whose
exported wraphandle() function will clothe anything that's not a blessed
object in an IO::Handle-like wrapper... so you can just use OO syntax and
stop worrying about whether your function's caller handed you a string, a
globref, or a FileHandle.