tag:blogger.com,1999:blog-5302093523789144315.post4138795417014230451..comments2024-01-18T16:06:54.237+05:30Comments on COMPUTER KORNER: ALL ABOUT VARIABLESAnonymoushttp://www.blogger.com/profile/17646278198850847672noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5302093523789144315.post-80823688848400973562014-09-03T06:21:09.675+05:302014-09-03T06:21:09.675+05:30use strict;
use warning;
$a=10;
$b=10
print "...use strict;<br />use warning;<br /><br />$a=10;<br />$b=10<br />print "a=$a and b=$b\n";<br /><br />When I run this code it does not throw an error. However when i replace $b with $tar, it throws an error. "global symbol requires explicit package name". Can you tell me why a single char variable name is not an issue? I am running it on windows workstation.Anonymousnoreply@blogger.com