flymolo has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (programs and processes)
`some command` will give me the text of the executed program.
system("command") will return the return value, but running the
program twice might change text and/or return values.
Is there any easy way to do this?
Right now I'm thinking system("command >file") but then I'd
have a file I don't need.
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I get both the return value and text? backticks vs. system()
by chromatic (Archbishop) on Jun 21, 2000 at 08:02 UTC | |
by david2008 (Scribe) on Sep 09, 2013 at 14:42 UTC | |
Re: How do I get both the return value and text? backticks vs. system()⭐
by lhoward (Vicar) on Jun 21, 2000 at 02:00 UTC | |
Re: How do I get both the return value and text? backticks vs. system()
by Archon810 (Initiate) on Apr 30, 2008 at 01:42 UTC | |
Re: How do I get both the return value and text? backticks vs. system()
by jffry (Hermit) on Feb 14, 2006 at 23:34 UTC |
Back to
Seekers of Perl Wisdom