in reply to Re: Re: SCALAR output instead of attribute name.
in thread SCALAR output instead of attribute name.
Actually, after looking over some of the source code to Unix::PasswdFile and its parent Unix::Configfile, I wouldn't use it either. It's internals are awful.
I don't know why you need to be root to use it, though. In any case, there are other /etc/passwd parsing modules on CPAN.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|