in reply to Why would this code work under one condition and fail for the second condition?

Why are you using globals in adduser when you are passing it arguments? Globals = bad, passing arguments = good, mixing both = very very bad!

sub adduser { my $username = generate_user_name( @_ ); }

___________
Eric Hodges
  • Comment on Re: Why would this code work under one condition and fail for the second condition?
  • Download Code