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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script error 1

Status
Not open for further replies.

lmb5kids

Programmer
Dec 18, 2003
36
US
can someone help me with this error please :

Global symbol "i" requires explicit package name at showcode.pl line 24.
Variable "$i" is not imported at showcode.pl line 24.

I can get my script to run fine with perl version 5.8.0 but when I try and run it on version 5.003 I get that error.

Thanks
 
the 5.003 did not have the Getopt::Std , so I referenced one of our older perl scripts and saw it was calling on this :

require "getopts.pl";

I changed the script and changed the h_Options to opt_B and opt_N .

thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top