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

Finding Usable Nodes in our Cluster

by Andrew_Levenson (Hermit)
on Apr 10, 2008 at 19:07 UTC ( #679557=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #Andrew Levenson
    #2:13PM EST
    ...
        unshift @open, $_ if $_=~m/\s{1,}0\s{1,}$/;
    }    
    print "$_\n" foreach(@open);
    
  2. or download this
    
    
    
    C(qw/74 97 104 112/);sub C{while(@_){$c**=$C;print
    (map{chr($C!=$c?shift:pop)}$_),$C+=@_%2!=1?1:0}}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2022-05-23 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?