If you want to call a subroutine in another file, you have to "require" or "use" the file first. E.g.
require "file.pl";
To learn more, try perldoc -f require
dave hj~
In reply to Re: how can i call a *.pl as a function
by dash2
in thread how can i call a *.pl as a function
by benlaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |