in reply to Re: comparing two hashes
in thread comparing two hashes


That looks very much smarter and I'm sure it works, but can you (or anyone) please explain it a little more?

What is

@deletions{@oldvalues} = ();
doing? I didn't know you could create hashes that way!

Also, what's "%tmp"? --

Replies are listed 'Best First'.
Re: Re: Re: comparing two hashes
by screamingeagle (Curate) on Feb 25, 2002 at 03:09 UTC
    Thats something called a hash slice.This is used to refer to (and/or operate on) multiple hash elements at the same time.
    hth