Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Finding missing numbers in a list

by saintmike (Vicar)
on Sep 03, 2004 at 17:55 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://388356]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found