Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Why would this code work under one condition and fail for the second condition?

by eric256 (Parson)
on Jul 26, 2006 at 21:44 UTC ( [id://563901]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://563901]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found