when I use strict, I get below compilation issue otherwise it works fine. I tried to place 'my' keyword for properties but this is not fixing it. Is something i'm doing wrong?

```
#Read properties file
open( F, 'properties' )
  or die "properties file is missing in current directory. Error:  $!\n";
while (<F>) {
    next if (/^\#/);
    (my $name, my $val ) = m/(\w+)\s*=(.+)/;
    my $properties{ trim($name) } = trim($val);
}
close(F);
my $current_host = $properties{host_server};
my $token        = $properties{server_token};
my $state        = 'success';
my $monitor_freq = $properties{monitor_frequency};

```

Error 

```
syntax error at Q:/IDE/Eclipse_Workspace/ICEFaces/Server_Client_Mon/Server_Client_Mon.pl line 22, near "$properties{ "
Global symbol "$val" requires explicit package name at Q:/IDE/Eclipse_Workspace/ICEFaces/Server_Client_Mon/Server_Client_Mon.pl line 22.
Global symbol "%properties" requires explicit package name at Q:/IDE/Eclipse_Workspace/ICEFaces/Server_Client_Mon/Server_Client_Mon.pl line 25.
Global symbol "%properties" requires explicit package name at Q:/IDE/Eclipse_Workspace/ICEFaces/Server_Client_Mon/Server_Client_Mon.pl line 26.
Global symbol "%properties" requires explicit package name at Q:/IDE/Eclipse_Workspace/ICEFaces/Server_Client_Mon/Server_Client_Mon.pl line 28.
Global symbol "%properties" requires explicit package name at Q:/IDE/Eclipse_Workspace/ICEFaces/Server_Client_Mon/Server_Client_Mon.pl line 32.

```