Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Problem running code until a user hits a key

by davies (Vicar)
on Dec 30, 2007 at 15:13 UTC ( #659611=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    count! = 0
    DO
    ...
    LOOP UNTIL LEN(datain$) > 0
    
    PRINT count!
    
  2. or download this
    use strict;
    use warnings;
    ...
        $count++;
    }
    print $count;
    
  3. or download this
    use strict;
    use warnings;
    ...
    }
    
    print $count;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://659611]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-09-17 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (100 votes), past polls