Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Finding missing elements in a sequence (code)

by pike (Monk)
on Nov 06, 2001 at 21:47 UTC ( #123637=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Finding missing elements in a sequence (code)
in thread Finding missing elements in a sequence (code)

Or else you might change what you put into the hash:

my %isthere = map { sprintf ('%05d',$_) => 0 } ($low..$high);
Assuming that all numbers you want to check are in the same format...

pike


Comment on Re: Re: Re: Finding missing elements in a sequence (code)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2015-07-29 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (262 votes), past polls