Hi all,

I am having some problem with sysread and syswrite. Example:-

I want to print out a variable to my client over the internet, but would 
like to use syswrite and sysread would help to reduce mistakes in EOF 
characters.

#!/usr/bin/perl
my $buffer;
my $test = "hello, how do u do";

#reading into buffer
sysread($test, $buffer, 1024);
syswrite(STDOUT, $buffer);

The above doesn't return anything, is it something wrong with my program?

Kindly advice, thanks!



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to