in reply to what's faster than .=
I don't know if you are getting this for a file or socket, but if you are, use
and read() will append the data faster than use a buffer var to than write to it!read(SOCKET, $var , 1 , length($var) )
But think, you really need to read byte by byte?! If you are doing this because you are using socket, take a look in IO::Select, can help.
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|