Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Problem running code until a user hits a key

by davies (Parson)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-04-24 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (443 votes). Check out past polls.