in reply to how can i call a *.pl as a function

Don't include an entire Tk file, it just wastes server space and doesn't tell us anything.

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
    oh sorry~