See Tie::Handle, specifically Tie::StdHandle for an easy way. You don't have to overload <> to do this, either.
In reply to Re: Creating a class that acts as a descriptor
by bikeNomad
in thread Creating a class that acts as a descriptor
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |