On 1/10/07, John W. Burns <[EMAIL PROTECTED]> wrote:

The following code (which I'm sure can be greatly improved) works but
generates a warning "useless use of private variable in void context"  at
two lines.

                     if ($count2=>2) {
                       $count3 = grep $_ == 1, (@$row[23,25,27]);
                           if ($count3=>1){

Perl does have an operator spelled => , but it's not the same as >= .
Is that causing your error message? Error messages may occur on a
later line than the error itself, since they show when Perl recognized
the error.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to