S
sam
Hi,
I don;t know what is wrong with the following simple perl code:
#!/usr/bin/perl
use strict;
use warnings;
local %hash1 = ('sales_subtotal'=>100);
local %hash2 = ('sales_subtotal'=>150);
When I execute the above code, I got the following error:
Global symbol "%hash1" requires explicit package name at hashs.pl line 6.
Global symbol "%hash2" requires explicit package name at hashs.pl line 7.
Thanks
Sam
I don;t know what is wrong with the following simple perl code:
#!/usr/bin/perl
use strict;
use warnings;
local %hash1 = ('sales_subtotal'=>100);
local %hash2 = ('sales_subtotal'=>150);
When I execute the above code, I got the following error:
Global symbol "%hash1" requires explicit package name at hashs.pl line 6.
Global symbol "%hash2" requires explicit package name at hashs.pl line 7.
Thanks
Sam