ginju75 has asked for the wisdom of the Perl Monks concerning the following question:
in a sub, do I need to specify 'my' to use an element of an array? as my $X[0]? Do I need that 'my' before the scalar element of an array that was defined as local using 'my'?? Thank you all. From a learning monk!my @x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Local Vs...
by chip (Curate) on Nov 30, 2001 at 05:53 UTC | |
|
Re: Local Vs...
by ehdonhon (Curate) on Nov 30, 2001 at 04:34 UTC | |
|
Re: Local Vs...
by davorg (Chancellor) on Nov 30, 2001 at 14:56 UTC |