Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

Tie::StdHandle

Perl 5 version 12.2 documentation
Recently read

Tie::StdHandle

NAME

Tie::StdHandle - base class definitions for tied handles

SYNOPSIS

  1. package NewHandle;
  2. require Tie::Handle;
  3. @ISA = qw(Tie::Handle);
  4. sub READ { ... } # Provide a needed method
  5. sub TIEHANDLE { ... } # Overrides inherited method
  6. package main;
  7. tie *FH, 'NewHandle';

DESCRIPTION

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.