in reply to RFC: Name that Module

I would use something inside the Proc namespace... probably Proc::SwitchUser or Proc::SetUser.

BTW, It would also be nice to have functions like system_as_user, fork_as_user, open_pipe_as_user, open2_as_user and open3_as_user available from your module... I don't know if these are the best names, but you get the idea!

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

    My only hesitation about using 'Proc' as the namespace is the association with the /proc filesystem on linux (and others).

    What does everyone think? Does 'Proc' mean 'process' or '/proc'?

    And reqarding system_as_user, fork_as_user, open_pipe_as_user, open2_as_user and open3_as_user etc... That is where this is eventually heading. The module containing fork_as_user and co would use Proc::SetUser or whatever the name turns out to be.

      Proc namespace is for process related modules.

      Take a look at the rest of the modules on the namespace and you will see that almost no one is related to the /proc file system.