Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Answer: How do I delete/modify one line from test file ?

by arturo (Vicar)
on Apr 04, 2001 at 01:48 UTC ( #69489=note: print w/replies, xml ) Need Help??


in reply to Re: Answer: How do I delete/modify one line from test file ?
in thread files

well, if you're pushing the line you don't want onto the array, it's going to end up in the array. It might help to think of another way of doing the same thing:

push @array, $line unless $line eq 'b|b';

Read the fine manual! => perldoc -f push

Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://69489]
help
Chatterbox?
choroba went to a museum with the older children. The exhibition was called "American Indians".
[Discipulus]: this and...
[Discipulus]: shaving the ceil
LanX God shaves the Queen!
[marto]: plastering
LanX citing Sean Connery

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2018-02-19 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?