Beginner to beginner here, but if you wanted to do two things at once, wouldn't you just need to use threads? http://perldoc.perl.org/threads.html (Disclaimer: Threads might be overkill, but it was the first thing I thought of.)
James On Wed, Jun 5, 2013 at 5:18 AM, Nemana, Satya <snem...@sonusnet.com> wrote: > Hi**** > > ** ** > > I am having a slight difficulty in getting this accomplished.**** > > When my perl program keeps running, I sometimes need to pause the screen > output and check some things on the output.**** > > But, I want my program to still keep running while I pause the screen. > (using ctrl+s on putty)**** > > But the program also is pausing.(I tested this with a simple program which > prints number from 1-100 sleeping 1 second after each print , but the main > program I am trying to get this working is much complex, so will try things > here first before modifying the original program)**** > > ** ** > > Test Code :**** > > ** ** > > use strict;**** > > use warnings;**** > > for (my $i=1; $i <= 200; $i++)**** > > {**** > > print "\ni is $i";**** > > sleep 1;**** > > }**** > > ** ** > > Please, could someone throw some light on which areas of perl to look at > for this.**** > > I am not looking for a program, but specific areas where I have to do the > reading.**** > > I will come back with the program once I can make out what to do for any > suggestions.**** > > ** ** > > Thanks,**** > > Satya**** > > ** ** > > ** ** > > ** ** > > ** ** >