<...> is the readline operator, which expects to read from a file handle, not a string. But you can open a file handle to a string:
open(CONTENT, "<", \$content) || die ... while (<CONTENT>) { # reads line by line from $content ...
In reply to Re: Parsing variable
by Anonyrnous Monk
in thread Parsing variable
by Sterh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |