in reply to Don't understand why can't get 'size' assoc w/STDOUT
Maybe try passing the reference to the file glob
my $fh = \*STDOUT; [download]