Public Class Methods | |
| retval | TIEHANDLE (scalar class, scalar buffer) |
Public Object Methods | |
| retval | buffer (scalar buffer) |
| Get/set the buffer contents. | |
| retval | TELL () |
| retval | SEEK (scalar where, scalar whence) |
| Sets the current read/write position. | |
| retval | WRITE () |
| Write some contents into the buffer. | |
| retval | READ (undef, scalar len, scalar offset) |
| Reads some content from the buffer. | |
| retval | READLINE () |
| Reads a line from the buffer. | |
Read operations will read from a given buffer, write operations write into an in-memory buffer.
|
|
Get/set the buffer contents. If called with a buffer (string) as an argument the buffer for future read operations is set to the given string. If called without a parameter the current contents of the buffer is returned.
|
|
||||||||||||||||
|
Reads some content from the buffer.
|
|
|
Reads a line from the buffer.
|
|
||||||||||||
|
Sets the current read/write position. Parameters are like for seek(). |
|
|
|
|
||||||||||||
|
|
|
|
Write some contents into the buffer.
|
1.4.5