Yeah, pass through a subroutine. So that you can get the return value from your Library.pm code
mainfile.plLibrary.pmpackage Library.pm $output = Library::subroutine($variable)
sub subroutine { $variable = shift $variable = changingthedata($variable) return $variable }
In reply to Re: use, require, do or what?
by actualize
in thread use, require, do or what?
by AKSHUN
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |