Bagarre has asked for the wisdom of the Perl Monks concerning the following question:
Hello.
Why is it that
..not the same asmy ($var1, $var2, $var3) = "Hello";
??? Thanks.my $var1 = "Hello"; my $var2 = "Hello"; my $var2 = "Hello";
Entities should not be multiplied unnecessarily.
2006-11-03 Retitled by planetscape, as per Monastery guidelines ( keep:1 edit:12 reap:0 )
Original title: 'Whis is this not?'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Please explain 'list' assignment.
by Errto (Vicar) on Nov 03, 2006 at 19:11 UTC | |
Re: Please explain 'list' assignment.
by friedo (Prior) on Nov 03, 2006 at 19:10 UTC | |
by shenme (Priest) on Nov 03, 2006 at 19:19 UTC | |
by Bagarre (Sexton) on Nov 03, 2006 at 19:20 UTC | |
by Bagarre (Sexton) on Nov 03, 2006 at 19:12 UTC | |
Re: Please explain 'list' assignment.
by NetWallah (Canon) on Nov 04, 2006 at 07:06 UTC |
Back to
Seekers of Perl Wisdom