in reply to Storing metadata with file handles
Perhaps you should use the file descriptor number as a lookup
key:
my %domain; my $filenum = fileno($fh); $domain{$filenum} = 'www.yoursite.com';
-Blake
In Section
Seekers of Perl Wisdom