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

Re: modules and constants

Thread Previous | Thread Next
ToddAndMargo via perl6-users
December 6, 2019 09:02
Re: modules and constants
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About