Next Tricks of the Wizards 25

Passing Filehandles

        open FH, ...;
        print FH ...;
        $z = <FH>;
        close FH;
        open "FH", ...;
        print "FH" ...;    
        $z = <"FH">;
        close "FH";


Next Copyright © 2003 M. J. Dominus