stab in the dark (again) ;)

$$ by itself returns the pid of the process, but in this context I gather it
dereferences the hash?

Regards,
Ron



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Morgan Norell
> Sent: Friday, August 24, 2001 8:51 AM
> To: [EMAIL PROTECTED]
> Subject: $$ What does it mean?
>
>
> Can someone tell my why there are two $$ in the row below the for
> statement, is there any special
> meaning or ?
>
>
> while (my $ref = $std->fetchrow_arrayref()) {
>                 my %resultrow;
>                 for (my $i = 0; $i < $numFields; $i++) {
>                                 $resultrow{$$names[$i]} = $$ref[$i];
>                 }
>
> ...print data...
>
> }
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to