in reply to Re^4: Converting File Delimiters
in thread Converting File Delimiters

This works:

C:\test>perl -ple"$_ = join '|', m[(\s*\x22[^\x22]+\x22\s*|[^,]+)]g" 988A5521, 98_1V_HB, Hel Product Pool (Pds Dd), false, store, false 988A5521| 98_1V_HB| Hel Product Pool (Pds Dd)| false| store| false 988A5707, 98_1V_HB, "Chinook, IPT ME Support", false, store, false 988A5707| 98_1V_HB| "Chinook, IPT ME Support"| false| store| false 988A5708, 98_1V_HB, "Chinook, ME Factory Supt", false, store, false 988A5708| 98_1V_HB| "Chinook, ME Factory Supt"| false| store| false 988A5761, 98_1V_HB, Tandem Rotor Configuration, false, store, false 988A5761| 98_1V_HB| Tandem Rotor Configuration| false| store| false ^Z

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^6: Converting File Delimiters
by mmueller44 (Novice) on Aug 16, 2012 at 18:07 UTC

    Thanks! This worked great! Thanks Again, Mike