Parsing problem

2002-08-19 Thread Ing . Pavel Koutný
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 vari

Newbie problem

2002-07-30 Thread Ing . Pavel Koutný
Hi, I need to communicate with remote device through UDP protocol, this is my problem: If I send number to port UDP XY of remote device (number must be 2-bytes long), remote device will send me back this data structure: (Pascal-like) TS_QUE_TYPE = Packed Record tsqQueId : Word; tsqStatus :