I get the following error when trying to print the below statement,even though $profile_name is declared,if I remove the underscore after profile_name the error is gone.What am I doing wrong?
Global symbol "$profile_name_" requires explicit package name at c:\perl_scripts\profile.pl line 32
print "\n$profile_name_$opt_$date\n";
In reply to Error while printing a variable by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |