Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Comparison Of Files

by runrig (Abbot)
on Dec 05, 2000 at 22:47 UTC ( [id://45049]=note: print w/replies, xml ) Need Help??


in reply to Re: Comparison Of Files
in thread Comparison Of Files

One thing. I would change this:
while(<IN2>) { chomp; print "$_ is a new site\n" if not defined($newsite1{$_}); } # while
to this:
while(<IN2>) { chomp; print "$_ is a new site\n" unless exists $newsite1{$_}; } # while
Checking for the existence of a key is quicker than looking up the value of a hash element.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2025-01-18 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (56 votes). Check out past polls.