Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: capture periodic updates from external program

by mabossert (Scribe)
on May 15, 2014 at 17:32 UTC ( [id://1086181]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
        $c++;
        sleep(1);
    }
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
        say 'GOT: '.$line;
        last if $line =~ m/^FINISHED/;
    }
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
        chomp $in;
        say 'STDOUT: '.$in;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-24 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found