[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] One for the perl hackers
- Subject: [ale] One for the perl hackers
- From: robert.l.harris at gmail.com (Robert L. Harris)
- Date: Thu, 3 Oct 2013 15:22:01 -0600
*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>