Next | Tricks of the Wizards | 69 |
To tie a handle, tie the glob in which it resides:
tie *FH => 'Package', ...;
Tied handle objects must support several methods:
CLOSE GETC PRINT PRINTF READ (for 'read') READLINE (for '<>') WRITE (for 'syswrite')
Next | Copyright © 2003 M. J. Dominus |