in reply to Re^2: Can't call method "model" on an undefined value at
in thread Can't call method "model" on an undefined value at

Obviously myform was not called passing a correct $c

So please show us the call ....

I could imagine someone forgot calling it as a ->method hence messing up $self.

update

Using Carp::Always might help...

Cheers Rolf

PS: Je suis Charlie!

Replies are listed 'Best First'.
Re^4: Can't call method "model" on an undefined value at
by phildeman (Scribe) on Jan 09, 2015 at 16:35 UTC

    That is correct. I found the evil doings of my script. I forgot to pass $c from the calling method. Therefore, myform did not have anything in $c. It's now resolved.

    Thanks for your help and patience.