Perl variable declaration

what is the meaning of this particular line of code in perl.

my %global_port2lanid = ();

Empty out a hash named global_port2lanid.

Hi agn,

Could you please let me know what is the difference between the below two.

1) my %hash = ();

2) my %hash = {} ;