[Israel.pm] convert perl string to file handle

Gaal Yahas gaal at forum2.org
Sun Jun 6 06:11:25 PDT 2004


On Sun, Jun 06, 2004 at 04:03:39PM +0300, Itamar Elem wrote:
> is there a efficinet way to convert perl string to file handle?
> i used something like:
> $buffer="....."
> open IN,qq{echo $buffer|};
> 
> print <IN>;
> 
> but is there a better way?

Look up IO::String.

-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/



More information about the Perl mailing list