Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: P2P Golf: MoleSter

by dragonchild (Archbishop)
on Dec 16, 2004 at 14:04 UTC ( #415348=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $p=shift;$a=a(shift);i(shift);socket S,2,1,6;bind S,$a;listen
    S,5;undef$/;while(@ARGV&&($_="$p $a f".shift)||accept(C,S)&&($_=<C>)&&
    t{socket X,2,1,6;$w=shift;if(connect X,a($w)){print X
    "$p $_[0] $_[1]/$_[2]";close X}else{undef$k{$p}}}
  2. or download this
    $/=$_;$(=shift;$a=shift;i(shift);socket S,2,1,6;bind S,a($a);listen
    S,5;while(@ARGV&&($_="$( $a f".shift)||accept(C,S)&&($_=<C>)&&close
    keys%k}sub t{socket X,2,1,6;if(connect X,a($w=shift)){print X
    "$( $_[0] $_[1]/$_[2]";close X}else{undef$k{$w}}}sub
    e{open F,">$_[1]";print F $_[2];close F}

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://415348]
[stevieb]: I find the M::S makefiles it generates are quite straight forward, and I usually have to add a few things (github info etc). They're about 15 lines or so give or take.
[Corion]: I don't think the EUMM-generated Makefile is that complicated ;)
[stevieb]: Corion++
[jedikaiti]: RonW++ #I have so much accumulated in my memory that finding the right item at a given moment often fails
[LanX]: corion only > 800 lines
[stevieb]: ahhh you're talking about the actual Makefile, not the PP Makefile.PL
[Corion]: LanX: But most of that is just setup of variables to be used later, like CC , LIB etc.
[LanX]: yes and some builders try to avoid it
[RonW]: :)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-08-18 21:04 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (310 votes). Check out past polls.