in reply to Re: Reading a variable as a file
in thread Reading a variable as a file
use IO::Scalar; ### Open a handle on a string, read it line-by-line, then close it: $SH = new IO::Scalar \$var; while (<$SH>) { # ... } close $SH;
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
|---|