> -----Original Message-----
> From: Etienne Marcotte [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 30, 2001 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: $a = $b eq "" ? 1 : 0;
> 
> 
> $allowed = $username eq 'admin' ? 1 : 0;
> 
> Can someone explain me this line? I don't get the ? 1 : 0 part
> 
> They say it need to be used instead of $allowed = 1 if $username eq
> 'admin'; for a mod_perl env.

FWIW, that statement by itself has no relationship to mod_perl. mod_perl
does not set any $username variable. There may be some code elsewhere in
your script that tests for a mod_perl environment, but this isn't it.

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

Reply via email to