summaryrefslogtreecommitdiff
path: root/regcomp.pl
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-22 14:35:46 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-22 14:35:46 +0000
commite620cd7232b242c1500abd8a6a5b86efdf1c5c2b (patch)
tree62b27a249ce39c519adcc3c671e456ae3c92178a /regcomp.pl
parent1f852d0d1f9745d51afb4cb836d527bbbac0c64e (diff)
downloadperl-e620cd7232b242c1500abd8a6a5b86efdf1c5c2b.tar.gz
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
Diffstat (limited to 'regcomp.pl')
0 files changed, 0 insertions, 0 deletions