I like that you've followed the PerlIO convention of taking a reference to a scalar as the marker for an in-memory file. That is an admirably concise notation for something that was previously difficult to do.
You say it's not intuitive, but nothing is until people get used to it. PerlIO is pretty new to most of us. Your new_from_scalar class method is just a wrapper and doesn't prevent the newer-style new, so I'm not really objecting. I appreciate that you need to reduce the support load.
After Compline,
Zaxo
In reply to Re: HTML::TokeParser::Simple advice requested
by Zaxo
in thread HTML::TokeParser::Simple advice requested
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |