in reply to Specifying main:: scope

Also, $::a is a shorter way to type $main::a.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: Re: Specifying main:: scope
by blakem (Monsignor) on Dec 05, 2001 at 06:12 UTC
    And (just for fun) $main::main::main::a is a longer way to type </code>$main::a</code>

    i.e. 'main' is somewhat like a symbolic link back to itself.....

    -Blake