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

flip-flop flop

by morgon (Curate)
on Mar 30, 2012 at 09:52 UTC ( #962556=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub blah {
     my($look_for, @array)=@_;
    ...
    
     return @elements_we_want;
    }
    
  2. or download this
    my @a = qw(hubba bubba abba zappa);
    blah("bubba", @a);   # this gives qw(abba zappa) as desired
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://962556]
Approved by moritz
Front-paged by Eliya
help
Chatterbox?
[LanX]: so that's where you've been the last two years? Compiling Python?
[zentara]: LanX no! I was learning why Krishna made me into a unicorn. :-)
[LanX]: The old chromosone question ... Why Y???

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-03-30 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (362 votes). Check out past polls.