At 12:57 -0400 2001.07.18, Greg London wrote:
>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 \[]
You can have as many \ as you want.
$y = "ha";
$x = \\\\\\\\\\\\\\$y;
print $$$$$$$$$$$$$$$x;
Tugly, but rue.
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/