On Sun, May 30, 2010 at 12:56 AM, Mikhael Goikhman <[email protected]>wrote:
> On 30 May 2010 00:03:57 +0300, sawyer x wrote:
> >
> > I could not find a context list in Perldoc but that doesn't it mean
> > it doesn't exist.
> >
> > The contexts that I know are scalar context, list context, boolean
> > context (if(), while()), void context ($var;) and intepolative
> > context ("$var").
>
> I would add at least numeric context to this list, activated when
> arithmetical operators are used. There are others, for example
> assignment context.
>
Right, forgot those. overload is indeed a good place to start.
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl