Not an answer to the question, but something compels me to recommend multiple readings of chapter 1, Advanced Perl Programming. Or at least it always takes _me_ multiple readings... - James