greatdane has asked for the wisdom of the Perl Monks concerning the following question:
Dear PerlGods,
Any idea how I can get quotewords of Text::ParseWords to split inputs quoted with qq{} or q{}. Users of my program want/need to give me input with qq{} instead of standard quotes because long_story.
use Text::ParseWords; @list = "ewords ('\s+', 0, $input); foreach $item (@list) { <whatever>; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: quotewords and qq{}/q{}
by Zaxo (Archbishop) on Jan 27, 2007 at 07:50 UTC | |
by jonadab (Parson) on Jan 27, 2007 at 17:23 UTC | |
by greatdane (Beadle) on Jan 31, 2007 at 02:12 UTC | |
Re: quotewords and qq{}/q{}
by Anonymous Monk on Jan 27, 2007 at 07:28 UTC |
Back to
Seekers of Perl Wisdom