my ($f_mfg_desk, $f_mfg_desk_output, $record,@wip_query, $wip_query, $ +opr_cd, @header, $header, %header, $x, $row, $row_array, @row_array, @rule_array, $ +BREAK, $year, $month, $day, $hour, $min, $sec, $run_time, $dtme, $local_outfile_timestamp, $remote_outfile_timestamp, $local_outfil +e_latest, $remote_outfile_web, $Oper_Cd, $Pick_Ref_Num, $Part_Id, @header_da +ta, $newrow, @newrow, $head);
is where you're going wrong.
Really. You should use lexical variables in the smallest possible scope. That usually means: declare them where you're first using them, or a scope or two "up" if you're doing conditional assignments.
What you're doing is trying to declare all variables you need up front, which besides being obviously hard to maintain, will also open up a lot of potential pitfalls, the least of which is that you're basically treating all variables as global.
This specific error stems from failing to declare a variable.
In reply to Re: "Global Symbol Requires Explicit Package Name" error
by Joost
in thread "Global Symbol Requires Explicit Package Name" error
by Portree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |