develooper Front page | perl.perl6.users | Postings from January 2020

global variables and modules question

From:
ToddAndMargo via perl6-users
Date:
January 1, 2020 02:20
Subject:
global variables and modules question
Message ID:
2da85b1b-89d9-a4c2-e1d7-5b55a764cee8@zoho.com
Hi All,

Is there a way to restrict variables, constants, enums and such
declared in the global section of a module to only the module?

Many thanks,
-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When we ask for advice, we are usually looking for an accomplice.
    --  Charles Varlet de La Grange
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About