This isn't really directly related to Win32 GUI, so I'd like to apologize
now for that. Don't even know PERL particularly well, and am not that
bright.
The task I'm trying to accomplish is this, I've got a program thats got
numerous text fields(single line text box), user fills them out, then upon
clicking a button it assigns their text to some variables and does some
unrelated actions with those variables.
I'd like to write a routine that checks that all the fields were filled out,
if they weren't, it pops up a dialog box that says the fields they didn't
fill out in a format like this:
You didn't fill out:
blah
blah
blah
Lets say the variables they need to fill out are $test $test1 $test2
Right now, I'm doing it with some if statements, but the problem is, the
poor poor way I'm doing it, if they fill out $test and $test2 but not
$test1, it will still work, because it checks the variables in order, and if
the last one it checks isn't blank, it works.
All the variables used are scalar variables, with the exception of one,
which is an array.
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com