Loading ...
Sorry, an error occurred while loading the content.

5256Re: How to pass STDOUT

Expand Messages
  • teden
    Mar 7, 2006
    • 0 Attachment
      perl -e '@std = `uname -X`;print @std, "\n";'

      In other words, put your system command in between backticks (`) and
      the STDOUT will be the output, which you capture in an array.

      Thom Eden

      --- In soaplite@yahoogroups.com, "chuksilver" <chuksilver@...> wrote:
      > im new on perl, and i think my quoestion its more perl than
      > soap::lite. but let see who can help me.
      > In some method i want to call a system command. Im using system() to
      > do that. in a normal perl script i see the SDTOUT on the shell. but
      > how can i pass the STDOUT with SOAP::Lite.
      > Thanks
    • Show all 2 messages in this topic