in reply to help with getting my perl script to run via web
I have posted my script on my scratchpad and made it public. There is one more thing bout my script. It works fine using the command above via command line. But if i just type:perl push2.pl -i (ip address) -s (tftp server) -c (config file) <enter +>
I get this error:perl push2.pl
I would like to fix that also. Thanks in advanceUse of uninitialized value in concatenation (.) or string at push2.pl +line 45. IP ADDRESS: Use of uninitialized value in concatenation (.) or string at push2.pl +line 74. Error: can't resolve "" to IP address at /usr/lib/perl5/site_perl/5.6.1/SNMP_util.pm line 400 Can't bless non-reference value at /usr/lib/perl5/site_perl/5.6.1/SNMP +_Session.pm line 860.
|
|---|