in reply to Re: unable to call a method reference with an argument
in thread unable to call a method reference with an argument

The (@_) in "sub {$self->updt(@_)}" worked perfectly. I did try () and ('') to try to force recognition of a single parameter prototype but that didn't work at all and I "solved" the problem by just getting hold of self->(txt_box)->{contents} but wanted to know how to do this for when I can't get at things that way. Thank you very much indeed.
  • Comment on Re^2: unable to call a method reference with an argument