is a typo, for starters - seems to work fine (I'm testing it out now) if you write:
$pw = new Unix::PasswdFile "/etc/passwd";instead - no comma after the package name.
As for writing a script like this? I've been working with a 6 year old kluge for years because it's easier that what you are undertaking. It's generally a huge pain in the butt. I wish you the best, and if you have any questions, feel free to /msg me.
In reply to Re: Passwdfile.pm help?
by Ferret
in thread Passwdfile.pm help?
by vivekvp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |