Skip to main content
1 of 2
Stéphane Chazelas
  • 584.8k
  • 96
  • 1.1k
  • 1.7k

A simple approach here is to do:

our $i //= 28;

That is still declare it as a package global variable to work around strict but only assign 28 if not already defined.

Stéphane Chazelas
  • 584.8k
  • 96
  • 1.1k
  • 1.7k