Hi,
how can I get the values of variables, that I had declared in my main routine, in a module? I know I could pass them as parameters to the subroutine, but I would like to know wether there is another (better) solution?
e.g.
use my;
$t="hello";
---my.pm----
...
print $t;
...
Thanks
Smash your head on keyboard to continue...
how can I get the values of variables, that I had declared in my main routine, in a module? I know I could pass them as parameters to the subroutine, but I would like to know wether there is another (better) solution?
e.g.
use my;
$t="hello";
---my.pm----
...
print $t;
...
Thanks
Smash your head on keyboard to continue...