Subject: | Feature Request pass in user |
It would be nice if I could pass in the "userName" token.
my($userName) = delete($args{userName}) ||(getpwuid($>))[0];
I think you could use it like this.
BEGIN {
my $token=shift || "default";
}
use Sys::RunAlone::User userName => $token;
I think that would work unless there is some kind of chicken and egg
thing going on behind the scenes where `use` normally happens at
compile time.
Thanks,
Mike
mrdvt92