Von dieser Ausgabe auf STDOUT möchte ich nun jeweils die Zweite Zeile haben und daraus nur die Nummer, den RegExp bekomme ich schon hin, ich weiß nur nicht wie und wo ich die Ausgabe abfangen kann damit ich sie bearbeiten kann.
Naja, gerne lese ich dir vor was in der Doku bei system steht:
The return value is the exit status of the program as returned by the wait call. To get the actual exit value divide by 256. See also exec. This is not what you want to use to capture the output from a command, for that you should use merely backticks or qx//, as described in STRING
in the perlop manpage. Return value of -1 indicates a failure to start the program (inspect $! for the reason).
Struppi.