blob: 9eed9893ba0590b73f21c3c35406158331ef9a94 (
plain) (
blame)
1
2
3
4
5
6
|
IO::Callback provides an easy way to produce a phoney read-only
filehandle that calls back to your own code when it needs data to
satisfy a read. This is useful if you want to use a library module
that expects to read data from a filehandle, but you want the data to
come from some other source and you don't want to read it all into
memory and use IO::String.
|