Type of arg 1 to Readonly::Readonly must be one of [$@%] (not scalar assignment) near "'bar';" Type of arg 1 to Readonly::Readonly must be one of [$@%] (not list assignment) near ");"