Help for this page

Select Code to Download


  1. or download this
    sub rdw_open(*$;@)  # need a file handle and a name, but allow more fo
    +r the 3 arg open...
    {
        my $fh = shift;
        tie *{$fh}, __PACKAGE__, @_ ;
    }
    
  2. or download this
    rdw_open(*FH, "myfile") or die "Couldn't open myfile: $!";