<div dir="ltr">thanks Steve. I had asked for a new, delimited file, and got it</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 3, 2024 at 3:39 PM Steven Lembark <<a href="mailto:lembark@wrkhors.com">lembark@wrkhors.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 24 Apr 2024 15:00:21 -0500<br>
Jay S <<a href="mailto:me@heyjay.com" target="_blank">me@heyjay.com</a>> wrote:<br>
<br>
> Hi no worries.<br>
> Like I said in playing with the data it became harder to do the<br>
> parsing I needed.<br>
> long story short, I requested (and was given) the data in CSV<br>
<br>
Make your life easier: Choose a delimeted format (CSV is recursive). <br>
<br>
Pick something other than a ',' for the separator: '|' is usually a<br>
good choice. At that point you don't need to deal with escaped <br>
separators, quoted escapes of escaped quotes of separators... blech. <br>
<br>
Your entire input process becomes:<br>
<br>
    my @fieldz  = split $sep => $input; <br>
<br>
and you're done. <br>
<br>
If the raw input doesn't include literal tabs, tab separated ("TSV")<br>
is common and makes it easy to look at the files using *nix command<br>
line tools like cut and grep. <br>
<br>
<br>
<br>
-- <br>
Steven Lembark<br>
Workhorse Computing<br>
<a href="mailto:lembark@wrkhors.com" target="_blank">lembark@wrkhors.com</a><br>
+1 888 359 3508<br>
_______________________________________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org" target="_blank">Chicago-talk@pm.org</a><br>
<a href="https://mail.pm.org/mailman/listinfo/chicago-talk" rel="noreferrer" target="_blank">https://mail.pm.org/mailman/listinfo/chicago-talk</a><br>
</blockquote></div>