Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Challenge Problem: Merging Network Addresses

by Dominus (Parson)
on Oct 12, 2001 at 21:10 UTC ( #118530=note: print w/replies, xml ) Need Help??


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

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://118530]
help
Chatterbox?
[choroba]: just require any of MCE and threads. Not sure if that's possible in the cpanfile, but should be possible early in the Makefile
[1nickt]: The app expects threads as default anyway, right?
[choroba]: that's true
[1nickt]: expects threads *to be* the default
[1nickt]: I think cpanfile can handle the logic. testing now.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2017-10-18 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?