Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Good Morning perl monks.
I have two different files with several lines. Suppose one containing
perlisfun//comment
and other one containing
isitright//comment1
I need to print file1 merging with file2 in reverse order getting rid of comments and //
Result should be:
tn hu gf is ri tl ir se ip.
I tried chop , but it prints the comment too. Any Ideas? Thankx.
I have two different files with several lines. Suppose one containing
perlisfun//comment
and other one containing
isitright//comment1
I need to print file1 merging with file2 in reverse order getting rid of comments and //
Result should be:
tn hu gf is ri tl ir se ip.
I tried chop , but it prints the comment too. Any Ideas? Thankx.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Seeking help!
by davorg (Chancellor) on Aug 04, 2000 at 18:18 UTC | |
by larsen (Parson) on Aug 04, 2000 at 20:19 UTC | |
homework ? - RE: Seeking help!
by lhoward (Vicar) on Aug 04, 2000 at 18:22 UTC | |
Re: Seeking help!
by maverick (Curate) on Aug 04, 2000 at 18:27 UTC |
Back to
Seekers of Perl Wisdom