Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Challenge Problem: Merging Network Addresses

by tachyon (Chancellor)
on Oct 12, 2001 at 04:42 UTC ( #118381=note: print w/replies, xml ) Need Help??


in reply to Re: Challenge Problem: Merging Network Addresses
in thread Challenge Problem: Merging Network Addresses

I was hoping that there would be a Perl solution that would be fast enough to be useful

Of course if you patched the module with XS and your C code there would be :-) Just a random thought to increase your workload for the benefit of everyone (except perhaps you).

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: Re: Challenge Problem: Merging Network Addresses

Replies are listed 'Best First'.
Re: Challenge Problem: Merging Network Addresses
by Dominus (Parson) on Oct 12, 2001 at 21:10 UTC
    Says tachyon:
    Of course if you patched the module with XS and your C code there would be :-)
    Not really. The C program is a complete program that solves this one specific problem. There's nowhere in the Net::CIDR interface to 'patch'; the module doesn't do what this program does, and this program doesn't implement any of the functions that Net::CIDR does.

    Even if I did put it in, there wouldn't be any benefit. At present, you could compile my program and then use:

    #!/usr/bin/perl system("mjd-merge-blocks inputfile > outputfile");
    Then you could call it a "Perl solution", but it wouldn't really be one. Hacking my code into Net::CIDR wouldn't be a "Perl solution" either.

    --
    Mark Dominus
    Perl Paraphernalia

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118381]
help
Chatterbox?
[LanX]: I remeber M::S (it was dialog driven?) to be buggy
[stevieb]: As far as Dist::Zilla goes, I don't like installing that other than on systems my test platorm runs on. I find it too heavy. I prefer being able to glean a Makefile.PL
[LanX]: what's frustrating me is that a distribution has lots of dupplicated info
[stevieb]: LanX I don't know if it's dialog driven; I just use it in the simplest of terms (just run module-starter at the CLI, and the very last couple of lines are how I use it.
[stevieb]: which dist are you speaking of regarding dups, LanX?
[LanX]: readme version number and so on ...
[stevieb]: with M::S, you can also add other tags, but defaults work... such as --license=perl --eumm
[LanX]: I'm not a big fan of pure make, apparently the auto generated ones are so complicated to be able to work with all possible makes

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2017-08-18 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?