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']});
In reply to Re^2: Reading a variable as a file
by codeacrobat
in thread Reading a variable as a file
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |