Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: perl substitue till found pattern in aline

by johngg (Abbot)
on Dec 02, 2012 at 19:24 UTC ( #1006752=note: print w/ replies, xml ) Need Help??


in reply to perl substitue till found pattern in aline

Your example output seems to be inconsistent. In the first line the space before the '-1' is not substituted with a comma but in the second it is. Please could you clarify your requirement.

Cheers,

JohnGG


Comment on Re: perl substitue till found pattern in aline
Re^2: perl substitue till found pattern in aline
by Vijay81 (Acolyte) on Dec 03, 2012 at 08:36 UTC
    Sorry it was typo mistake
    01,fines,name,2222,-P,sws,-1 reee.tee rrt 02,fi,si,2232,-P,sqww,-1 re.wqw ttf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2015-07-02 22:05 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 (45 votes), past polls