Also - I dont see how running the command "Command" would produce the output you show.open $fd, "$cmd|"
I would also recommend using "my $fd", otherwise, "strict" would complain.
"You're only given one little spark of madness. You mustn't lose it." - Robin Williams
In reply to Re^5: Join multiple lines in a string based on regex.
by NetWallah
in thread Join multiple lines in a string based on regex.
by pr33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |