problem with last in looping %

2002-01-30 Thread stefan.kredler
Hi all, thanks to all in the group who really never stop helping. This group is really enjoyable. [This had to be said] Now. I'm running a while loop with a hash several times and I want to use the last statement to exit the loop on a match. works fine. Entering the next time the while loop is

split to hash?

2002-01-30 Thread stefan.kredler
is there a better way of building a hash from a file than this? ---8<--- while (){ ($mt,$te) = split /;/,; $tt{$mt} = $te; } 8<- I tried: ($mt,$te{$mt}) = split /;/,; even though I expected it to fail; the use of @_ seems to fail too. Any hint is appreciated t