At 00:55 2002-01-06 -0600, Steve Myers wrote:
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.

It is very much off-topic since it has nothing to do with either Win32 or GUI programming. This is a good place to look for help on Perl in general:
http://www.perlmonks.org/


However, this once, here is the answer to your question:

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.

my $err = "";
$err .= "Fill out 1 please\n" if(!$test1);
$err .= "Fill out 2 please\n" if(!$test2);
yourAlertSub($err) if($err);


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "dbi style questions (code, discussion)"
<http://www.perlmonks.org/index.pl?node_id=135057&lastnode_id=136634>



Reply via email to