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

Re: modules and constants

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
December 6, 2019 09:02
Subject:
Re: modules and constants
Message ID:
47b8f646-b85d-9e7d-abbd-85b3d5b7b78b@zoho.com
On 2019-12-06 00:01, Tom Blackwood wrote:
> Todd,
> 
> AFAIK Perl’s culture is not to use so many constants in actual 
> programming. :)
> 
> Tom
> 

Is there a way to make constants universal inside a module, or
do I have to declare them inside every sub?

Thread Previous | 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