I need help with this:

C++ program's output looks like this:

A= 20
B= 30
C= 70
AVG= 40
MIN= 30
MAX= 70
TIME= 0.0037

If I call this in Perl:

        #!/usr/bin/perl -w
        my $result = `myapp`;
        exit;

there is output myapp saved in $result

How to move values from $result to my variables, like
$valA = 20;
$valB = 30;
....
???

Thanks for any ideas.

Pavel


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to