in reply to Form Action
As I sort of mentioned before, you seem to be having trouble understanding program execution flow. I think you're forgetting something fairly basic:
Unless you're deliberately changing the execution flow programs are executed from top to bottom.
In other words, since the only place you assign a value to $action is at the very end, that variable will be undefined everywhere else it's being used.
You'll also want to read up on how the web works. and see Ovid's CGI course.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Form Action
by Zcity (Novice) on Jul 03, 2006 at 12:55 UTC | |
by davidrw (Prior) on Jul 03, 2006 at 19:55 UTC |
In Section
Seekers of Perl Wisdom