Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help For Net::Ping PLEASE

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have code and am trying to run it. Everytime I try I get

Can't locate Net/Ping2.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at d7.pl line 6.
BEGIN failed--compilation aborted at d7.pl line 6.


I have treied to change Net::ping2 to user::class::ping2 which is where my ping2 file is.


I am using an icmp but I know you need permissions for this., I get teh same error for tcp and udp
I have no permissions but still cannot get it to run. Keep getting the same error


Can someone please help.


Hope you can
 
try adding a line before it:[tt]
use lib("/path/to/the/module");[/tt]
"If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top