Home: Perl Programming Help: Regular Expressions:
Perl Package


Apr 6, 2015, 1:17 AM

Views: 33925
     Perl Package

eg: Below is a part of a package...what is $::test in the below code?

package main;

$::test->script_keywords( "ARTS_1 Functional" );

Veteran / Moderator

Apr 6, 2015, 3:32 AM

Views: 33922
     Re: [gomz] Perl Package

$:: refers to the identifiers defined in the main package.

Please do not ask the same question in several places of this forum. I'll lock this thread.

(This post was edited by Laurent_R on Apr 6, 2015, 3:36 AM)