in reply to Getting output from continuous program

Hello jake7176

you must use open against a program to read from (pipe sign at the end) open my $cmd,"/path/to/prog|"

If you read carefully the open page you'll find many examples.

Also of interest is this section of perlipc

Then you can read from it as for normal filehandles.

There are many other and refined options like IPC::Open2 and IPC::Open3 but also IPC::Run and Capture::Tiny

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.