Re: glob-copying vs. dup'ing

2001-07-10 Thread Michael Fowler
On Tue, Jul 10, 2001 at 12:32:16PM -0700, Paul wrote: > > --- Michael Fowler <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 10, 2001 at 10:19:43AM -0700, Paul wrote: > > >open THIS, ">&THAT" > > > > This dups (see man 2 dup) fileno(THAT) and opens it with the > > filehandle THIS. The THIS and T

Re: glob-copying vs. dup'ing

2001-07-10 Thread Paul
--- Michael Fowler <[EMAIL PROTECTED]> wrote: > On Tue, Jul 10, 2001 at 10:19:43AM -0700, Paul wrote: > >open THIS, ">&THAT" > > This dups (see man 2 dup) fileno(THAT) and opens it with the > filehandle THIS. The THIS and THAT filehandles now refer to the same > file descriptor, and thus th

Re: glob-copying vs. dup'ing

2001-07-10 Thread Michael Fowler
On Tue, Jul 10, 2001 at 10:19:43AM -0700, Paul wrote: >open THIS, ">&THAT" This dups (see man 2 dup) fileno(THAT) and opens it with the filehandle THIS. The THIS and THAT filehandles now refer to the same file descriptor, and thus the same underlying file. >*THIS = *THAT This aliases

glob-copying vs. dup'ing

2001-07-10 Thread Paul
Okay, we recently had a discussion of open THIS, ">&THAT" and *THIS = *THAT Doesn anybody know the difference? Especially if you use STDERR and STDOUT instead of THIS and THAT? Just trying to understand the underlying behavior. = And on a seperate note, if Perl6 isn't going to u