format FORMATFH = @<<<< $yadda . write(FORMATFH); # somehow get FORMATFH into $foo (the operative part) # goes here --><--- # so that I can go like this: $object_that_takes_string_arg->open($foo);