in reply to Re: Building a web-based system administration interface in Perl
in thread Building a web-based system administration interface in Perl

Somehow these two points look rather contradictory to me. So you want to have a pure Perl library that interfaces a C library (PAM)?

I think that's possible with syscall and/or DynaLoader magic, but somehow I doubt that it'll be easier, more maintainable or less evil than the alternative.

But I guess we all have our dreams...

  • Comment on Re^2: Building a web-based system administration interface in Perl

Replies are listed 'Best First'.
Re^3: Building a web-based system administration interface in Perl
by afoken (Chancellor) on Apr 08, 2009 at 20:15 UTC

    You are right. PAM and "pure perl" are nearly incompatible. If the tool would interface with PAM, it should do so using a classic XS-based module, preferably an already existing and well-tested one.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)