> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 05, 2005 9:24 AM
> To: Charles K. Clarkson
> Cc: beginners@perl.org
> Subject: RE: initialize arrays
> 

<<SNIP>>

> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote:
> 
> : Are these two statements the same?
> :
> : my (@array, @array1) = ( );
> :
> : my @array = my @array1 = ( );
> 
>     According to Data::Dumper the results are the same.
> 
> print Dumper [EMAIL PROTECTED], [EMAIL PROTECTED];
> 
> 
>     But then this has the same result.
> 
> my( @array, @array1 );
> 
> 
>     Why are you trying to initialize perl arrays?
> 
> 
> Charles K. Clarkson
> --
> Mobile Homes Specialist
> 254 968-8328
> 

Hi everyone,

  this one made me wonder.  Isn't there a way to get Perl to print out
exactly how it evaluates the statements that are written?  If so, we
could use that to see what Perl does with those two different
assignments above.

--Errin

--
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