Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Difference between two arrays - is there a better way?

by blindluke (Hermit)
on Aug 09, 2011 at 09:36 UTC ( #919441=note: print w/replies, xml ) Need Help??


in reply to Re: Difference between two arrays - is there a better way?
in thread Difference between two arrays - is there a better way?

Thanks.

Both dependencies will always be met in this particular case - as I mentioned, this was not a general problem.

Still, I also prefer the second solution - it's not only more general than mine, but looks better, and seems more simple/elegant (although the aesthetic argument may not be as valid as the one you mentioned - that it is more general).

I was simply wondering about other ways, in the spirit of TMTOWTDI. Thank you, and thanks to BrowserUk for both other solutions.

  • Comment on Re^2: Difference between two arrays - is there a better way?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2019-02-18 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (99 votes). Check out past polls.

    Notices?