From: Bruce W. <br...@mi...> - 2001-03-17 02:07:49
|
> my $mk19_data = "/dev/pc_remote"; > > if (-s $mk19_data) { > my $str = unpack "C", $file_read $mk19_data; > print "Data: $str\n"; > } Sorry, made a couple of mistakes here. Had a $ on file_read and forgot to delete the file after reading it: my $str = unpack "C", file_read $mk19_data; print "Data: $str\n"; unlink $mk19_data; Bruce |