JupiterHost.Net [JN], on Thursday, April 28, 2005 at 09:11 (-0500)
contributed this to our collective wisdom:

>> (really beginners) could think "@a" will empty array, which is not
>> true.

JN> yes it is true, they are both empty lists:

@a will not empty array, here it is:

my @a = q{foo bar};
@a;
print @a;

against

my @a = q{foo bar};
@a = ( );
print @a;

I hope you see the difference :)

JN> See John's excellent explanation earlier for more details.

yes, that was great.

--

How do you protect mail on web? I use http://www.2pu.net

[Bake 350 for 40 minutes - cat should be flaky, not tough.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to