Jonas Wolf <[EMAIL PROTECTED]> writes: > ident_no_key : /[a-zA-Z\d]+/ > { > $return = ($item[1]=~/^(OR|AND)$/i) ? undef : new > ident_no_key(@item[1..$#item]); > } > > However, this gives me an error message: > > Can't use string ("ident_no_key") as a SCALAR ref while "strict refs" in > use at > (eval 17) line 1375. > > What am I doing wrong and how can I fix it?
The grammar lives in its own package, so you need to use/require the "ident_no_key" class. /s