Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Parsing output from the CSV file

by GotToBTru (Prior)
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017894]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2018-06-23 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?