I am just playing with variable assign. I always initialize my arrays first as I need them. thanks,
Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
"Charles K.
Clarkson"
<[EMAIL PROTECTED] To
.net> <[email protected]>
cc
04/05/2005 10:17
AM Subject
RE: initialize arrays
[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
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
