Without entering in the matter of checking linux users (you got already authoritative suggestions) I'd like to point you to some general perl modern practices:
In reply to Re: Trying to take user input as username, read etc/passwd and output user ID
by Discipulus
in thread Trying to take user input as username, read etc/passwd and output user ID
by charlesx1552
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |