If you are using NT or an OS that distinguishes binary mode from test files add binmode OUTFILE; after the open statement above.my $target = "/tmp/whatever"; open (OUTFILE, ">$target") or die "Could'nt open $target:$! \n"; print OUTFILE $file; close;
In reply to Re: moving files
by perlcgi
in thread moving files
by jntn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |