open( SAVE_OUT, ">&STDOUT" ) or die "Could not open SAVE_OUT: '$!'\n"; open STDOUT, ">> $out_file" or die "Could not redirect STDOUT to '$out_file': '$!'\n"; my $dd_version = $0 . " 1.1"; print SAVE_OUT "$dd_version\n";
In reply to Re^2: Duping filehandles
by ff
in thread Duping filehandles
by creamygoodness
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |