in reply to how does print know what filehandle to use, when in a diamond in-place edit loop?

The inplace edit case uses the special filehandles ARGV (for input) and ARGVOUT (for output) these are document in perlvar

/J\