in reply to Implicit references? module -> feature -> pragma -> "Perl8" ?
is just syntactic sugar formine @a = (1,2,3);
or that at compile time,my @a; my $a = \@a; @a = (1,2,3);
makes the parser note that $a is special in this scope, and so any occurrences of $a are treated by the parser as if they had been written as (\@a)?mine @a = (1,2,3);
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Implicit references? module -> feature -> pragma -> "Perl8" ?
by LanX (Saint) on May 12, 2026 at 12:23 UTC | |
by Anonymous Monk on May 12, 2026 at 21:04 UTC | |
by LanX (Saint) on May 12, 2026 at 22:59 UTC | |
by hippo (Archbishop) on May 13, 2026 at 09:16 UTC | |
by LanX (Saint) on May 13, 2026 at 12:22 UTC | |
| |
by Anonymous Monk on May 12, 2026 at 22:10 UTC |