Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: perl substitue till found pattern in aline

by johngg (Canon)
on Dec 02, 2012 at 19:24 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1006752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found