in reply to Use of Hash For Table Lookup

I'd probably use Storable for something like this.
Instead of printing your hash structure to a 2nd file, just build the hash directly, eg:
$User{$loginuser} = $appl;
And then just store() it when you are done.
Your second script can then simply retrieve() the hash when it needs it.

(minor nit): I'm wondering about the point of the for loop, because you only process one file?

Hope this helps,
Darren :)