in reply to Can I print the result to a file
with select(); you are selecting the default output of print statementsselect TOP_STDOUT; print;
my $format = "format TOP_STDOUT= NAME ID SALARY . format STDOUT= @<<<<<<<< @<<<<<<<<<<<< @<<<<<<<<<<<<<< $name, $id, $salary . write;" print TOP_STDOUT $format;
|
|---|