>>>>> "Jerry" == Jerry Preston <[EMAIL PROTECTED]> writes:

Jerry> This does not work:

Jerry>  undef $All_Wafers_Tested;
Jerry>   foreach $key ($query->param) {
Jerry>     undef $check_;
Jerry>     $check_ = $key if $key =~ /Slot/;
Jerry>     if( $check_ >= 0 ) {
Jerry>       $All_Wafers_Tested .= "$check_ ";
Jerry>     }
Jerry>   }

By "does not work", you'll need to specify:

  what you expected it to do

  what it does instead

We're not psychic here.  That's perfectly valid code for *some*
application, although perhaps not yours. :)

However, the fact that you're looking for "Slot" in the middle of a
string and then checking the numeric value of that same string makes
me smell a piece of bad cut-and-paste, or at least a think-o (like
typo, but about thinking).

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to