is there a better way of building a hash from a file than this?
---8<---
while (<FILE>){
($mt,$te) = split /;/,<FILE>;
$tt{$mt} = $te;
}
----8<-----
I tried:
($mt,$te{$mt}) = split /;/,<FILE>;
even though I expected it to fail; the use of @_ seems to fail too.
Any hint is appreciated
thanks, Stefan
_________________________________________________________________________
Die sicherste Form der Kommunikation: E-Mails verschl�sseln, Spam-Filter,
Adressverifizierung, digitale Unterschrift: http://freemail.web.de
smime.p7s
Description: S/MIME Cryptographic Signature
