The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:vars-i vars"

vars::i - Perl pragma to declare and simultaneously initialize global variables. River stage one • 5 direct dependents • 5 total dependents

For whatever reason, I once had to write something like BEGIN { use vars '$VERSION'; $VERSION = 3; } or our $VERSION; BEGIN { $VERSION = 3; } and I really didn't like typing that much. With this package, I can say: use vars::i '$VERSION' => 3; and ge...

CXW/vars-i-2.000000 - 18 Sep 2019 01:23:16 UTC
1 result (0.027 seconds)