Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Regex copy and paste help

by Anonymous Monk
on Aug 31, 2012 at 09:12 UTC ( #990956=note: print w/replies, xml ) Need Help??


in reply to Regex copy and paste help

How are you parsing it? This is important step, which will determine how you reassemble/join the string back together

Once you have an array of arrays, its as simple as checking for trailing "-" on a field, iterating/appending until the trailing "-" is missing

Parse::Report - parse Perl format-ed reports. might help, its like the opposite of Perl6::Form

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2016-12-05 01:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.