blackgoat has asked for the wisdom of the Perl Monks concerning the following question:
Hi!
I am toatally new to perl and I was going through a tutorial and came across the following piece of code:
output: Jones, James & Smith, Susan & Spot$_ = '"Jones, James", "Smith, Susan", Spot'; use Text::ParseWords; @names = quotewords(",", 0, $_); print join(" &", @names);
I didnt quite understand what it it does and how exactly it works.
Could anybody pls be kind enough to explain!
Thank You
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of Text::ParseWords
by 7stud (Deacon) on Feb 08, 2010 at 08:25 UTC | |
by blackgoat (Acolyte) on Feb 08, 2010 at 10:04 UTC | |
|
Re: Use of Text::ParseWords
by quester (Vicar) on Feb 08, 2010 at 07:02 UTC | |
|
Re: Use of Text::ParseWords
by Anonymous Monk on Feb 08, 2010 at 04:35 UTC | |
by blackgoat (Acolyte) on Feb 08, 2010 at 06:43 UTC | |
by Anonymous Monk on Feb 08, 2010 at 07:28 UTC | |
by Anonymous Monk on Nov 28, 2017 at 00:04 UTC |