[ale] One for the perl hackers
Robert L. Harris
robert.l.harris at gmail.com
Thu Oct 3 17:22:01 EDT 2013
*Sorry for the OT but my only perl lists have gone dark a long time ago*
$String='component1,component2,"This is my, test string", component4';
($C1, $C2, $Str, $C4) = split(',', $String);
I'm only getting "This is my" in $Str and $C4 does not contain
"component4". Is there a graceful way of handling this? It's a 1 in 10000
chance it'll break but accuracy counts.
Robert
--
:wq!
---------------------------------------------------------------------------
Robert L. Harris
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20131003/960de28e/attachment.html>
More information about the Ale
mailing list