Give a meaning to '&' in n-arg open case:
authorNick Ing-Simmons <nik@tiuk.ti.com>
Thu, 22 Mar 2001 14:35:46 +0000 (14:35 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Thu, 22 Mar 2001 14:35:46 +0000 (14:35 +0000)
commite620cd7232b242c1500abd8a6a5b86efdf1c5c2b
tree62b27a249ce39c519adcc3c671e456ae3c92178a
parent1f852d0d1f9745d51afb4cb836d527bbbac0c64e
Give a meaning to '&' in n-arg open case:
  open($fh,"<&",$scalar);
  $scalar can be:
  - an integer which does "fdopen"
    open($fh,"<&",2); # like open($fh,"<&2")
  - something that will yield a file handle via sv_2io()
    useful for dup'ing anonymous handles.
    e.g.:
    open(my $fh,"<&",\*STDIN);
    open(my $dup,"<&",$fh);

p4raw-id: //depot/perlio@9298
doio.c
t/io/open.t