in reply to Question about the order of declaring things in perl

Welcome to the monastery! :)

Plz Posts are HTML formatted!

Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!

I suppose you are not using strict, otherwise you would be forced to declare %LOG_FILE_HASH before using it.

Regarding the nesting, Perl has auto-vivification, so the data-structure will spring into life.

DB<100> $h{bar}{foo}=42 => 42 DB<101> \%h => { bar => { foo => 42 } }

Cheers Rolf

( addicted to the Perl Programming Language)