in reply to rewinding an input filehandle

There is also IO::Handle::ungetc for small rewinds on streams.

$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";