Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Parsing output from the CSV file

by GotToBTru (Vicar)
on Feb 08, 2013 at 22:14 UTC ( #1017894=note: print w/ replies, xml ) Need Help??


in reply to Parsing output from the CSV file

You never introduce the | character. I would suggest replacing:

print $reg_exp;
with
$accum .= "$reg_exp,";
and then when ready to output your pipe delimited expression:
$accum =~s/,$//; $accum =~ s/,/|/g; print $accum;


Comment on Re: Parsing output from the CSV file
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (18)
As of 2015-07-30 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls