tadman has asked for the wisdom of the Perl Monks concerning the following question:
Are they functional in some way, like @INC, or even $0, or are these used for some internal purpose that requires them to be exposed?#!/usr/bin/perl -w use strict; @$ = ( 1, 2, 3); %$ = ( 1 => 'a', 2 => 'b' ); print map { "% : $_ => ${%$}{$_}\n" } sort keys (%$); print map { "@ : $_\n" } (@$);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Internal Variables or Strange Critters? (Addendum)
by tadman (Prior) on Apr 19, 2001 at 09:10 UTC | |
by tye (Sage) on Apr 19, 2001 at 09:52 UTC |