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

Re: Supreme Laziness

by merlyn (Sage)
on Sep 25, 2001 at 20:57 UTC ( [id://114588]=note: print w/replies, xml ) Need Help??


in reply to Supreme Laziness

{ my %t; $t{$_} .= "1" for @tax_ids; $t{$_} .= "2" for @db_state; @add = grep $t{$_} eq "1", keys %t; @delete = grep $t{$_} eq "2", keys %t; }
I might have the add/delete pairs backwards there. You jumped from "array 1" to "@tax_ids" in your example. {grin}

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Supreme Laziness
by blackjudas (Pilgrim) on Sep 25, 2001 at 23:46 UTC
    Oh man... That's beautiful!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found