Help for this page

Select Code to Download


  1. or download this
    sub one (*) { my $fh = shift; print $fh "$fh (glob)"; }
    
    open (OUTER,"+>out.txt") or die "$!\n\n";
    one (\*OUTER);
    
  2. or download this
    sub one (*) { my $fh = shift; print $fh "$fh (glob)"; }
    
    open (OUTER,"+>out.txt") or die "$!\n\n";
    one (*OUTER);
    
  3. or download this
    sub one(\*) { ... }
    
  4. or download this
    sub one(*) { ... }