Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Monday August 12, 2002
09:12 AM

Linux, CPAN

[ #7045 ]
A discussion on comp.unix.programmer solved the problem I was having with the getprotent_r() function on Linux. Turns out you have to use the negation operator in a while loop, i.e. "while(!getprotent_r(p,buffer,BUF_SIZE,&q))". This makes no sense, but it works. I'm personally noting it as a bug, since getprotent doesn't work this way, and even Solaris' getprotoent_r doesn't work this way.

As for the new CPAN - I like it! Looks snazzy. I think my favorite new feature is that the 'recent' page now includes the description line. Of course, this means I have to go back and fix the documentation in some of my older modules so that it shows up correctly.

To all the nay-sayers who gripe about CPAN - bite me.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.