Why can you not just:
my %hugeHash = eval do {local $/; <DATA>}; ... __DATA__ exception1 => 'wibble', ...
to load your hash from the data section? You could make it a whole lot more robust, but if you want quick and dirty that gets you going.
In reply to Re^3: __DATA__ used in BEGIN
by GrandFather
in thread __DATA__ used in BEGIN
by Tabari
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |