in reply to how can i call a *.pl as a function
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~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how can i call a *.pl as a function
by benlaw (Scribe) on Dec 13, 2001 at 16:09 UTC |