in reply to Need help in accessing subroutines in perl scripts in perl modules.
If, as reported, you are seeing the error with getIP() but not with getHosts() it is quite possible that getIP is not actually the correct name of the sub. Since we cannot see Utili.pl it's rather hard to diagnose beyond that. Is this the entirety of the error messages which are displayed?
An SSCCE would help your cause considerably.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Need help in accessing subroutines in perl scripts in perl modules.
by srikanthp1 (Initiate) on Jun 17, 2016 at 06:08 UTC |