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
- [Boston.pm] dangling part-asiples Greg London
- Re: [Boston.pm] dangling part-asiples Dan Sugalski
- Re: [Boston.pm] dangling part-asiples John Tobey
- Re: [Boston.pm] dangling part-asiples darren chamberlain
- Re: [Boston.pm] dangling part-asiples Dan Sugalski
- Re: [Boston.pm] dangling part-asiples darren chamberlain
- Re: [Boston.pm] dangling part-asiples Greg London
- Re: [Boston.pm] dangling part-asiples Chris Nandor
- Re: [Boston.pm] dangling part-asiples Dan Sugalski
- Re: [Boston.pm] dangling part-asiples Chris Devers
- Re: [Boston.pm] dangling part-asiples Dan Sugalski
