Dan Sugalski wrote:
> At 09:56 AM 7/18/2001 -0400, Greg London wrote:
> >can someone explain somethig for me, please:
> >
> >bless \ [@_], $package;
> >question: what's the '\' character do?
>
> Takes a reference to the new anonymous array being created. (The
> double-indirection seems silly, but there might be a reason)
ah, see, I didn't know that one.
I knew you could do \@var \%var and \$var,
but I didn't know you could do \[]
darren chamberlain wrote:
> Where is this code from, out of curiosity?
it is an excerpt from
prompt> perldoc overload
part of my confusion was trying to figure out
how the overload stuff was working, I think.
Thanks everyone,
Greg