> > It looks like you may want something like this:
> >
> >
> >     $id = $c->createLine(
> >         $x[0], $time1,
> >         $x[1], $time1,
> >         $color eq $B_COLOR ? () : (
> >             $x[2], $time2,
> >             $x[3], $time2,
> >             ),
> >         -arrow      => 'last',
> >         -fill       => $color,
> >         -activefill => 'black',
> >         -width      => 2.0,
> >         -tags       => [$direction, $color],
> >         );
> >
> >
> >
> > John
Hi John,

What is the usage for "? () :" and where can I find
more about it?

Thanks,

Li

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Reply via email to