The stupid question is the question not asked | |
PerlMonks |
Re: Capture response from backticks to a file.by dsb (Chaplain) |
on Nov 13, 2013 at 19:26 UTC ( [id://1062437]=note: print w/replies, xml ) | Need Help?? |
I think you're misusing the backticks in your code.
this bit: IS capturing the output from the command and then printing it to STDOUT. But in your open command, you're effectively trying to open a pipe to a command that matches the output from your original backtick command, which should be failing I'd think. remember that backticks do execute your command, and things get a little simpler. For example:
dsb This @ISA my( $cool ) %SIG
In Section
Seekers of Perl Wisdom
|
|