Perl: Global Symbol Requires Explicit Package Name
问题 So I've been attempting to find the solution to this but so far everything I've read online has to do with scope issues and not declaring the variables with the my keyword. However, I can't seem to fix the issues because I've declared everything at the top and, to me at least, it seems I don't have scope issues. My errors for the following code are: Global symbol "$filename" requires explicit package name at read_ids.pl line 6. Global symbol "$filename" requires explicit package name at read