Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Login System (fake globals, subs take args, reuse variables, poor variable names)scoping,

by Anonymous Monk
on Nov 03, 2014 at 01:34 UTC ( [id://1105860]=note: print w/replies, xml ) Need Help??


in reply to Login System

Your problem looks like the typical variable lifecycle confusion, reusing already used variable names, too many globals, too many fake globals, globals overwriting fake globals, using same variable name for two different purposes, subroutines which don't take arguments, interleaving code and named subroutine declarations ... you even have "use Tkx;" in there (sloppy)

My standard advice on solving this, improve your program, refactor your program...

Re: Perl Tk Multiple Notebook Editing and Save, Re: widget box problem in tk, Re: TK Submenus (Tk::Menu , global variables/ spirit of strict), Re: print the values of the selected check buttons, Re^5: Multiple frames

  • Comment on Re: Login System (fake globals, subs take args, reuse variables, poor variable names)scoping,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-18 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found