Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: removing a sublist

by Skeeve (Vicar)
on Apr 20, 2012 at 22:21 UTC ( #966277=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @winners=("ruth","sheila");
    my @correct=("ruth","martin","dee","zack");
    ...
    @correct{@correct}= ();
    delete @correct{@winners};
    print join(' ',keys %correct),"\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966277]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2017-02-24 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (363 votes). Check out past polls.