in reply to Can't use string ("2") as a HASH ref while "strict refs" in use

This example doesn't have a line 209, but one of the places you use %{ } or {key}{key}{key} is trying to deref a "2". It seems to me that in the code that builds the hash structure, you have a $myhash{key} = 2;

Without strict refs, something odd happens:

use Data::Dumper; no strict 'refs'; $x = 2; $x->{hrm} = "weird"; print "", Dumper([%{2}]), "\n"; # odd

It's allowing you to build a hashref with the name of "2", but it almost certainly isn't what you want.

-Paul