Next | The Perl Hardware Store | DC.pm Version | 48 |
The biggest win is using the filehandle part
Perl accepts a glob reference anywhere it normally expects a filehandle
If your object is a blessed glob reference, people can use it like a filehandle
We'll write an object that looks like a regular filehandle
But it supports a remember operation that remembers the current file position
And a gobackto operation that goes back to a saved position
Next | Copyright © 2003 M. J. Dominus |