Tom Christiansen wrote: > % perl -wc /tmp/rrx > "my" variable $b masks earlier declaration in same scope at /tmp/rrx line 49. Not the best message, but it's given you a good clue as to where the error is. -zefram