What does "client.pl line 9" look like? In fact, what do lines 1 - 9 look like?
Most likely func1 comes from a module, but you haven't told Perl where to find it. You probably need something like:
Net::SNTP::Client::func1();
In reply to Re: Undefined subroutine &main::func1
by GrandFather
in thread Undefined subroutine &main::func1 [SOLVED]
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |