support perldoc -o option