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

Re: "Intelligent" array joining

by Not_a_Number (Prior)
on Feb 06, 2004 at 19:02 UTC ( [id://327193]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    ...
          print "$_->[$i] " if $_->[$i] and not $seen{$_->[$i]}++;
       }
    }
    
  2. or download this
    ant bee cat 1 3 cow 5 rat 7 dog 9 2 4 6 8 X
    
  3. or download this
    my @arrays = \( @array1, @array2, @array3 );
    my %seen;
    ...
       $i++;
       redo unless $count >= @arrays;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2024-03-19 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found