--- Michael Fowler <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 10, 2001 at 10:28:14AM -0700, Paul wrote:
> > 
> > --- Paul <[EMAIL PROTECTED]> wrote:
> > > 
> > > --- Bob Mangold <[EMAIL PROTECTED]> wrote:
> > > > exec(' myperl.pl 2>&1 ' ) ?
> > > >
> > > > ok, this works, but what the heck is it doing. i've never seen
> that
> > > > syntax.
> > > 
> > > lol -- it's not perl.
> > 
> > Okay, so it is Perl, but it's copied from the shell, lol....
> > I phrased that badly. ;o]
> 
> Nope, you had it right the first time; 2>&1 is not evaluated by Perl,
> it's evaluated by the underlying shell that Perl executes to
implement
> the string form of exec.

I know. But perl does let you dup a handle with 

  open THIS, ">&THAT"

Which is the same sort of syntax.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to