...and if you need or want parens after print (not in the case you put the filehandle too, but in the case your list to be printed starts with something that need parens) to avoid the error print (...) interpreted as function at .. use the following trick: