From 'perldoc -f system':
Code:
The return value is the exit status of the program
Perhaps you meant to use `
backticks`, or
open().
But really, like the others have already said, the whole concept is just wrong and redundant. Calling AWK from Perl is like taking a hot-dog to a banquet.
--- rod.