$random_data is a 1MB string and $test_file is the file handle that was opened up using the 3 argument version of open.print $test_file $random_data
The problem that I'm encountering is the Perl interpreter is breaking this large write into 4K writes at the system call level. I don't really want this because I'm trying to do some NFS performance measurements and the breakup of writes is causing me problems. I know that I could use syswrite, but was hoping to stay away from this.
Thanks.In reply to writing to a file using print by Brad.Walker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |