Zaxo misspeaks... :)
My empirical studies find that "scalar(<>)" remained
untainted so long as <> was empty. Providing a file name
tainted it, as did providing standard input. Reading from
/dev/null did not provoke the error.
I found no difference between relative and absolute file
names for the open; it all appears to depend on <>.