http://qs321.pair.com?node_id=541132

tamaguchi has asked for the wisdom of the Perl Monks concerning the following question:

It is possible to decleare a variable by 'my' as:

my $x

or

my ($x)

If in the universal perl book "Learning Perl", by Randal L. Schwartz, Tom Phoenix, it is stated that the second exaple decleares the variable in a "list" content. But it is not explained very well why one would like to decleare variables in "list content". I wonder therefore when it is good to decleare variables in the first way and when it is more appropiate to decleare them in the second way. What implications would it have to decleare all vairables, in a larger program in list content;
"my ($x)"
, regardless if it is needed or not. Would it be negative in some way? Thank you for any help