Using global variables is considered bad practice (because they might trigger an
action at a distance). That's why
use strict makes it harder to use them. The proper way is to supply parameters to functions so it is known what data is accessed by which sub.