RE: trouble understanding/using file handle in a sub routine

2012-08-10 Thread Brian Raven
tanding/using file handle in a sub routine > > i am using IO::File so that i can use the seekable feature to set the > file pointer position. > >$OUT_BINARY = new IO::File "> test.file"; >binmode ($OUT_BINARY) > > if i execute this, the write works: > &g

trouble understanding/using file handle in a sub routine

2012-08-09 Thread Greg Aiken
i am using IO::File so that i can use the seekable feature to set the file pointer position. $OUT_BINARY = new IO::File "> test.file"; binmode ($OUT_BINARY) if i execute this, the write works: print $OUT_BINARY $data; what i want to do (for the sake of pointing out the problem) is to i