System error

error:  Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/pte/htdocs/pte.mc line 164.
context: 
... 
160:  $frozen = 1 if ($ARGS{pte} =~ m/^\d{6}-\d/);
161:  $ARGS{'cache'} = 'off' if ($frozen);
162:  $ARGS{pte} = $m->comp("/generic/id2dayofyyseq.mc", %ARGS) if ($ARGS{id});
163: