what is the meaning of $:: ?

Discussion in 'Perl Misc' started by Mathematisch, May 16, 2012.

  1. Mathematisch

    Mathematisch Guest

    Hi,

    I see this perl syntax "$::" in various scripts. What does it mean?
    i.e.

    $::VERSION = 0.01;

    What would that be written in this way?

    Thanks.
     
    Mathematisch, May 16, 2012
    #1
    1. Advertisements

  2. AFAIK, a 'package global' variable in package main.
     
    Rainer Weikusat, May 16, 2012
    #2
    1. Advertisements

  3. Mathematisch

    mingwei hu Guest

    learned it from Ben.
    thanks.
     
    mingwei hu, May 17, 2012
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.