Sponsored Content
Top Forums Programming Event driven programming / epoll / typedef union / session data array Post 302918105 by Corona688 on Sunday 21st of September 2014 03:57:47 PM
Old 09-21-2014
Yet again, you can't expect us to see what's going on when you only post tiny out-of-context snippets of your code showing none of your data structures.
 

We Also Found This Discussion For You

1. Web Development

Intersection and union of array by hash

Hi, A piece of script from Perl-cookbook I do not understand, and post here for explanation. The purpose is to find the element in either array (union), and in both array (intersection). Thank you in advance. @a=qw(1 3 5 6 7 8); @b=qw(2 3 5 7 9); foreach $e (@a, @b) {$union{$e}++ &&... (3 Replies)
Discussion started by: yifangt
3 Replies
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy