# phpman > man > Tie::StdHandle

## NAME
    [Tie::StdHandle](https://www.chedong.com/phpMan.php/perldoc/Tie%3A%3AStdHandle/markdown) - base class definitions for tied handles

## SYNOPSIS
        package NewHandle;
        require [Tie::Handle](https://www.chedong.com/phpMan.php/perldoc/Tie%3A%3AHandle/markdown);

        @ISA = qw([Tie::Handle](https://www.chedong.com/phpMan.php/perldoc/Tie%3A%3AHandle/markdown));

        sub READ { ... }            # Provide a needed method
        sub TIEHANDLE { ... }       # Overrides inherited method


        package main;

        tie *FH, 'NewHandle';

## DESCRIPTION
    The [Tie::StdHandle](https://www.chedong.com/phpMan.php/perldoc/Tie%3A%3AStdHandle/markdown) 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.

