in reply to Re^4: how to supress stdout
in thread how to supress stdout

... and there's me thinking that is only true if the re-direction is done in the shell - perl seems to 'know' how 'proper' re-direction works when done as in this example i.e. in a call to one of the open() functions.

Maybe it's senility setting in big time ??

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^6: how to supress stdout
by ikegami (Patriarch) on Dec 13, 2008 at 17:02 UTC
    No, Perl doesn't know. open invokes the shell when it sees shell meta characters such as > in the command.
      ikegami, I was commenting on observations we made on my last project (Strawberry perl on XP & Win2K3), where we resorted to using proper re-direction in a call to open() coz it (appeared to) work - having tried and failed to use it [proper redirection] in a DOS command window.

      A user level that continues to overstate my experience :-))

        I don't understand. What do you mean by "proper redirection"? What other kind can it do?

        And what "is only true if the re-direction is done in the shell"?