my $input = \*STDIN; my $entity = $parser->parse($input); #### my $input = \*STDIN; my @copy = <$input>; open(COPY, ">copy.txt"); print COPY @copy; close COPY; my $entity = $parser->parse($input); #### my $input = \*STDIN; my $copy = $input; #### my $input = \*STDIN; my @copy = <$input>; open (TMP, ">/tmp/copy.txt"); print TMP @copy; close(TMP); open($copy, "parse($copy);