Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Double clicking a raw mode Win32::Console app

by gok8000 (Scribe)
on Sep 26, 2008 at 19:15 UTC ( #713932=note: print w/replies, xml ) Need Help??

in reply to Double clicking a raw mode Win32::Console app

If you don't need Win32::Console, this one also waits for the pressing of a key:
print "\nFile table.html created (press a key)\n"; $line = <STDIN>;

Replies are listed 'Best First'.
Re^2: Double clicking a raw mode Win32::Console app
by MidLifeXis (Monsignor) on Sep 27, 2008 at 02:29 UTC

    Almost, but not quite. It will wait for a record (delimiter set by $/). Even then, you may have some buffering issues on the console, where the console's record separator is the newline (for that platform).

    See the Term::ReadKey option above.

    Update: Made first paragraph less harsh.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://713932]
[holli]: so i filed a pull request for a open source project on github, they guy asks me "what motivates me to do this"
[holli]: i am tempted to answer "to please our new asian overlords" or something
[holli]: what a silly question

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-10-18 22:55 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (251 votes). Check out past polls.