Help for this page

Select Code to Download


  1. or download this
    @list = (a..z);
    { # ok for STDOUT
    ...
      select $fh; # restore STDOUT as default filehandle
    }
    # file 'bar' closed here, since $fh is out of scope