Hi,
write is not the opposite of read (see documentation). You should use the following code:
my $temp = pack ('n', 0x00f0);
syswrite (FH, $temp, 2);
Please be careful with syswrite. It shouldn't be mixed with other write statements (see documentation).
Thomas