in reply to Values initialized at compile time appear not to be getting initialized..?

I presume that the problem is within Readonly, as reducing your program to a simple case without Readonly makes the problem go away:

package Cmds; use strict; use warnings; sub RO(\[$@%]@) { warn "Assigning $_[0] <= $_[1]"; ${$_[0]} = $_[1] }; RO our $sig => "&#65285;&#65285;"; #improbable filename prefix warn "\$sig lives at " . \$sig; sub skey($) {$sig.$_[0]} our %Global_Cache = ( skey("asis") => 0, ); package main; print "Done\n";

I recommend you post actual, self-contained, working code.

As an aside, the string "&#65285;&#65285;" likely does not do what you think it does, unless you are outputting HTML.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.