in reply to RFC: Name that Module

This is Unix specific right? I'd suggest Unix::DropPrivileges

Hmm, is your released module Privileges::Drop or Process::DropPrivs (I'm guessing the latter) ?

Replies are listed 'Best First'.
Re^2: RFC: Name that Module
by pileofrogs (Priest) on Apr 26, 2008 at 18:40 UTC

    Actually, no, this should work in any system with multiple users. The only thing I do is set $<,$>,$( and $), and check those values. So this might work anywhere $<, $>, $( and $) are meaningful.

    So, I guess a better way to say that is, I intend for this module to be portable, so if it doesn't work on any OS that has multiple users, then that's a bug on my part.

      So this might work anywhere $<, $>, $( and $) are meaningful. Which means, Unix.

      I don't have access to VMS or anything like that, but those variables definitely do not mean anything at all under Windows. And whether there's any chance to implement something similar to what you propose, I really don't know. And I doubt it.