zemplen has asked for the wisdom of the Perl Monks concerning the following question:
I am having problems with quotewords. Using an editor create a file entering the following text and seperating the fields with a tab character.
1 2 3 4 foo bar 7 8 9 ' "
Why doesn't quotewords break out the list?
Thanks
1 2 3 4 foo bar 7 8 9 ' "
Why doesn't quotewords break out the list?
Thanks
use Text::ParseWords; open (MASTER, "<master.txt"); $delim = "\t"; $master = <MASTER>; chomp $master; @list = "ewords(${delim}, 1, ${master}); close (MASTER);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: quotewords doesn't return a list
by Enlil (Parson) on Oct 10, 2003 at 18:57 UTC | |
Re: quotewords doesn't return a list
by snax (Hermit) on Oct 10, 2003 at 18:41 UTC | |
by zemplen (Novice) on Oct 10, 2003 at 19:12 UTC | |
by snax (Hermit) on Oct 10, 2003 at 19:58 UTC |
Back to
Seekers of Perl Wisdom