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)

>$x = sub { $ {shift()} }   ;
>question: what's the lone '$' do?

De-references the reference that shift() presumably is returning.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to