in reply to Reading command line flags into variables...?

for the example you give, GetOpt::Std works just fine.

if you want to expand the args to create, say:

new-user.pl --name=Bob --last=Smith
you could use GetOpt::Long. works about the same as GetOpt::Std,