in reply to Re: Perl ran SETI@Home for us.
in thread Perl ran SETI@Home for us.

@seti is being used in a scalar context here, to get the number of elements in the array. To be sure, it would have been better to use if( scalar @seti < $max ), but it is of no great import.

To get a feel for how this works, you can play around with

perl -le 'print @ARGV > 2 ? "more" : "less"'

... with more or less parameters following on the command line.

update: oops, didn't realise this was a typo issue.

--
g r i n d e r

Replies are listed 'Best First'.
(ar0n) Re (2):x2 Perl ran SETI@Home for us.
by ar0n (Priest) on Nov 27, 2001 at 19:36 UTC
    I'm pretty sure that's not what qslack meant. @seti isn't declared anywhere. The author most likely meant to use @setiPids. use strict indeed.

    [ ar0n -- want job (boston) ]