On Wednesday, May 15, 2002, at 07:21 , Connie Chan wrote:
> Hi everybody, > > Is there any method to write a file ( text / bin ) by random ? > just like what "seek" does. where you want to start is with perldoc -f seek since you will notice a) that it exists b) tell exists - cf perldoc -f tell where you will notice that there is a sysseek... what I will mention is to TAKE SERIOUSLY the caution in perldoc -f sysread since you REALLLY REALLY WAY OH THE PAIN REALLY do not want to mix sysread and the standard 'read' on the same file descriptor... Hence may I recommend that if you are going to use the 'seek' side that you make yourself quite at home with doing the sysread side of the game first.... { which if you are coming from the 'c' side of the game seems more 'natural' since managing $buf and $length makes one more at home... } ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]