Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Use array instead of hash if all 'keys' are numeric

by pike (Monk)
on Nov 07, 2001 at 14:30 UTC ( [id://123791]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub find_holes {
      my @list = @{ shift() };
    ...
      my @vacancies = grep {$_} @notfound;
      return \@vacancies;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found