Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: how to remove empty pipe delimiters in a line which doesn't contain any data

by Your Mother (Archbishop)
on Oct 08, 2015 at 14:44 UTC ( [id://1144178]=note: print w/replies, xml ) Need Help??


in reply to how to remove empty pipe delimiters in a line which doesn't contain any data

You got pretty much all the right answers in all the good idioms already. But it sounds to me like you are breaking your data. The placement at least once corresponded to some sort of meaningful column, unless the original dev was a complete jackass. So you will be removing implicit meaning and if there are data anywhere in the mostly empty columns you'll end up sorry about the "cleaning" you're attempting.

Update: s/DERP/you're/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found