develooper Front page | perl.perl6.users | Postings from December 2019

modules and constants

Thread Next
From:
ToddAndMargo via perl6-users
Date:
December 6, 2019 07:40
Subject:
modules and constants
Message ID:
fa08a45b-9ec8-8870-60e0-ac420481a9b2@zoho.com
Hi All,

Its there a way, if you import a module that is also
imports a bunch of constants into your main program
to be used globally?

If so, what is the syntax in the module and in the main program?

And what happends if there is a name conflict between
the module and main program?

Many thanks,
-T

Thread Next


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