Is your user input coming at you as a perl expression to be evaled, or does q{} or qq{} get evaluated in the user's process before you see it?
The way I read his post, neither. It looks to me like users are supplying data that he wants to parse, but they want to supply it with Perl-style quoting constructs, probably for the obvious reason that Perl-style quoting constructs eliminate most of the worst problems with escaping quote characters in short bits of quoted text.
OTOH, if we knew more about long_story, it is possible that there is another, possibly even a better, solution.
In reply to Re: quotewords and qq{}/q{}
by jonadab
in thread quotewords and qq{}/q{}
by greatdane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |