Jeff Kowalczyk wrote:

> I'm not yet able to read certain parts of perl code. What is this
> comparison/alternation after the hash lookup on 'otherid' called, and what
> does the code do?
>
> $myvar->{id} = ($myvar->{otherid}) ? 'stringA' : 'stringB';
>
> Thanks.

That is the conditional operator.

Joseph


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

Reply via email to