in reply to Re: Regular Expression and backquoted cmds
in thread Regular Expression and backquoted cmds

BTW, stderr is caught as well.
No, it's not:
perl -E '$r = `perl -E"warn qq[Hello]; print qq[world]"`; say "!$r!"' Hello at -e line 1. !world! $
As you can see, STDERR of the called process is *NOT* caught, only its STDOUT.

Replies are listed 'Best First'.
Re^3: Regular Expression and backquoted cmds
by rovf (Priest) on Feb 03, 2009 at 12:13 UTC
    BTW, stderr is caught as well.
    No, it's not:

    You are right. My mistake! Bad mistake! Sorry!

    -- 
    Ronald Fischer <ynnor@mm.st>