Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: how to append 2 lines

by suno (Acolyte)
on Sep 10, 2012 at 10:26 UTC ( #992715=note: print w/ replies, xml ) Need Help??


in reply to Re^3: how to append 2 lines
in thread how to append 2 lines

Hi,

Thanks for the help...i was successfully able to finish it...

i have one more doubt..

say my code is          F$SFH FIRST,SC==H'160',        COMMENTS                    *   i need to replace ',*' instead of ", K.160 LESEN *" so that my code looks like F$SFH FIRST,SC==H'160',*

I tried using substitution function.. but i dont know where i am going wrong,. please help me in this... my code looks somewhat like

$a = F$SFH FIRST,SC==H'160', K.160 LESEN +* $a =~ s/\,[\s]*\*/\,\*/;


Comment on Re^4: how to append 2 lines
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2015-07-29 20:09 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 (267 votes), past polls