csarid has asked for the wisdom of the Perl Monks concerning the following question:
open (IN, "ps -aux | awk -F" " '{print $1,$2 }' |" ) || die("Can't op +en IN"); String found where operator expected at prog1.pl line 71, near ""ps -a +ux | awk -F" " '{print $1,$2}' |"" (Missing operator before " '{print $1,$2}' |"?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading unix command with open syntax error
by chromatic (Archbishop) on Mar 17, 2009 at 03:51 UTC | |
by csarid (Sexton) on Mar 17, 2009 at 14:44 UTC | |
by chromatic (Archbishop) on Mar 17, 2009 at 19:07 UTC | |
|
Re: reading unix command with open syntax error
by codeacrobat (Chaplain) on Mar 17, 2009 at 23:49 UTC |