Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Finding missing numbers in a list

by saintmike (Vicar)
on Sep 03, 2004 at 17:55 UTC ( #388356=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Set::IntSpan;
    
    ...
    $set = $set->complement()->intersect(
        Set::IntSpan->new($set->min . "-" . $set->max));
    print $set->run_list(), "\n";
    
  2. or download this
    41891,41893-41894
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2020-09-26 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (141 votes). Check out past polls.

    Notices?