http://qs321.pair.com?node_id=132674


in reply to Re: fixing use of
in thread Error message when using 'our'

our is not in this case not be recognized as a subroutine call. The error indicates it's being used as a method call (in the indirect object syntax), but the value it's being called on, $show_fields, is not defined, and hence perl can't lookup the method to call. I would note that you'd probably should get an error from that suggests that it was being redeclared for some reason or that strict is not being used. (Since strict would give a different error on the use of an undeclared variable.)