in reply to Doubts on "Nesting packages" and "typeglobs"
-> is not related to packages. It is used for accessing reference values. Consider:
use strict; use warnings; my @array = ("Hello world"); my $refArray = \@array; print $refArray->[0];
Prints:
Hello world
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Doubts on "Nesting packages" and "typeglobs"
by ivancho (Hermit) on Jan 21, 2009 at 06:56 UTC | |
by Anonymous Monk on Jan 21, 2009 at 07:07 UTC | |
by ivancho (Hermit) on Jan 21, 2009 at 07:39 UTC | |
by Anonymous Monk on Jan 22, 2009 at 04:10 UTC |