in reply to Error: "called too early to check prototype" and is word search using nested hash optimal?
You specified a prototype on a function (ReadDataInHash) that is called before it is declared.
Since the prototype is wrong and unnecessary, change
sub ReadDataInHash() { ... }
to
sub ReadDataInHash { ... }
|
|---|