Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 wandering the Monastery: (5)
As of 2014-09-18 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (111 votes), past polls