vdvelde has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: iproute2 package
by Corion (Patriarch) on Jun 18, 2004 at 08:12 UTC

    I'm not sure why your post has evoked such a negative response, but I looked at an introduction to iproute2, and there I found some links that show two ways of progression, as http://search.cpan.org does not show anything for that libray.

    1. You could wrap the ip program in a Perl module. This is the easy way that does not even require mucking around with XS or Inline::C. It also doesn't require passing around binary data or learning the actual iproute2 API and crashing your box during development. In short, this is the easy way that promises the most bang for your buck.
    2. The hard way. Write an XS wrapper around libiproute. This requires you to learn the API and write a proper perlish abstraction of the API. Lots of blood, sweat and tears, but possibly you will get a very rewarding result as you might get access to features that the ip program does not export or cannot export. Not for the faint of heart. If you decide to go that way, I would recommend starting out with Inline::C and later on to switch to real XS code.

    I hope this helps you on your way.

Re: iproute2 package
by jfroebe (Parson) on Jun 17, 2004 at 15:10 UTC

    Hi,

    This doesn't appear to have anything to do with Perl. You're best bet is to use one of the distributions (one of which is Mandrake but there are many many others).

    Jason L. Froebe

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1