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.

 
Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

Reply via email to