what is the meaning of $:: ?

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

  1. Mathematisch

    Mathematisch Guest


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

    $::VERSION = 0.01;

    What would that be written in this way?

    Mathematisch, May 16, 2012
    1. Advertisements

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

  3. Mathematisch

    mingwei hu Guest

    learned it from Ben.
    mingwei hu, May 17, 2012
    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.