Perl : Global symbol requires explicit package name -


&verify_se_linecount ( \@rows );  ### drop modified file open ( out, "> $resolved_dir\\$filenameonly" );  # loop through each row in edi file foreach $row  ( @rows ) {     print out $row . "$row_delim";  #  line 164 }  close out; 

i have perl script (the code above part of it) works on test server shows compilation error on production server. error is

global symbol `$row_delim` requires explicit package name @ <script_name> line 164 

the variable declared our $row_delim in package imported in script. not show error other objects used package.

without being able see how export/import function - it'll 1 of these things:

  • you've declared my in package.
  • you aren't exporting think
  • you aren't importing think.

try $otherpackagename::row_delim , see if works.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -