in reply to strange behaviour in 'AUTOLOAD'
BTW this: if($name !~ /^Users|Subjects|Reviews$/){ probably doesn't do what you want, you'd need /^(?:Users|Subjects|Review)$/ (because the alternation | has looser precedence since the concatenation which is used for the anchors ^ and $).
|
|---|