in reply to Re: WxPerl and accessing subroutine return variables without direct call of subroutine
in thread WxPerl and accessing subroutine return variables without direct call of subroutine

Please give me a second to comprehend this. Is it correct: I can set $dir_in like this $self->{dir_in} = $dir_in; inside a subroutine, and then call $dir_in from main subroutine? But how exactly does this call look?
  • Comment on Re^2: WxPerl and accessing subroutine return variables without direct call of subroutine
  • Download Code

Replies are listed 'Best First'.
Re^3: WxPerl and accessing subroutine return variables without direct call of subroutine
by Anonymous Monk on Jun 21, 2014 at 10:11 UTC

    and then call $dir_in from main subroutine? But how exactly does this call look?

    There is no "calls", its a variable, ita a hashref, perlintroPerl variable types, Hashes

      At last I've got it. This -> little arrow confused me. Thanks a lot good sir, not it works as it should.