<?xml version="1.0" encoding="windows-1252"?>
<node id="245970" title="Re: Re: Re: capturing STDERR within a script" created="2003-03-26 11:01:44" updated="2005-06-10 19:25:39">
<type id="11">
note</type>
<author id="31063">
RhetTbull</author>
<data>
<field name="doctext">
Hmm, not sure what the problem is.  Here's what it does on my system.  I've used this technique several times in the past with good success.

&lt;code&gt;
$ perl -v

This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Binary build 631 provided by ActiveState Tool Corp. http://www.ActiveState.com
Built 17:16:22 Jan  2 2002

$ perl pmerr.pl
Hello world
This is my first error
Goodbye world
This is my second and final error
I got the following errors:
   This is my first error
   This is my second and final error
&lt;/code&gt;</field>
<field name="root_node">
245900</field>
<field name="parent_node">
245920</field>
</data>
</node>
