Your package
#!/usr/bin/perl use warnings; use strict; package MyPackage; $package_variable = "This variable is in 'MyPackage'"; # ERROR