Tie::StdHandle - base class definitions for tied handles
package NewHandle; require Tie::Handle; @ISA = qw(Tie::Handle); sub READ { ... } # Provide a needed method sub TIEHANDLE { ... } # Overrides inherited method package main; tie *FH, 'NewHandle';
The Tie::StdHandle package provide most methods for file handles described in perltie (the exceptions are UNTIE and DESTROY). It causes tied file handles to behave exactly like standard file handles and allow for selective overwriting of methods.
UNTIE
DESTROY
To install P5re, copy and paste the appropriate command in to your terminal.
cpanm
cpanm P5re
CPAN shell
perl -MCPAN -e shell install P5re
For more information on module installation, please visit the detailed CPAN module installation guide.