Is use vars and our the same ?

Discussion in 'Perl Misc' started by ngoc, Sep 5, 2005.

  1. ngoc

    ngoc Guest

    Is "use vars qw()" and "our" the same scope, but differ in syntax only?
    ngoc, Sep 5, 2005
    #1
    1. Advertising

  2. ngoc

    Anno Siegel Guest

    ngoc <> wrote in comp.lang.perl.misc:
    > Is "use vars qw()" and "our" the same scope, but differ in syntax only?


    This is explained in the corresponding docs. Read "perldoc vars" and
    "perldoc -f our".

    Anno
    --
    If you want to post a followup via groups.google.com, don't use
    the broken "Reply" link at the bottom of the article. Click on
    "show options" at the top of the article, then click on the
    "Reply" at the bottom of the article headers.
    Anno Siegel, Sep 5, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon

    app vars and cache vars

    Jon, Dec 14, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    392
  2. Matt
    Replies:
    2
    Views:
    7,526
    Brock Heinz
    Dec 3, 2004
  3. Replies:
    3
    Views:
    324
    castironpi
    May 20, 2008
  4. Linuxguy123
    Replies:
    7
    Views:
    687
    Paddy O'Loughlin
    Feb 20, 2009
  5. caccolangrifata
    Replies:
    18
    Views:
    393
    Chris Torek
    Jul 22, 2011
Loading...

Share This Page