Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Removing repeated lines from file

by CountZero (Bishop)
on Jun 25, 2003 at 06:12 UTC ( [id://268765]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Removing repeated lines from file
in thread Removing repeated lines from file

In

if ($switch = 1){ # don't print lines that have previously been +repeated print OUT_B "$new_line$old_line"; }
should that not be
      if ($switch== 1)

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found