Michael Peters wrote: > if( $line++ == $pick ) { Actually that should probably be "++$line == $pick". Since most people think of the first line as #1, not #0. -- Michael Peters Plus Three, LP