Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^6: Unable to capture mouse events in Win32::Console

by fireblood (Scribe)
on Apr 26, 2022 at 20:15 UTC ( [id://11143324]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console

Sounds very reasonable. The reason I had the GetEvents method first before invoking the GetInfo method is that I believed that because GetEvents returned just a single scalar, that checking it first prior to invoking Input would be more efficient than calling Input, which returns an array of values. But after reading your note, I guess that if Input does not have anything to return it does not do all the processing of assigning undefs to all of the fields that it returns.

Thanks for the link to Term::Choose, it looks very interesting.

  • Comment on Re^6: Unable to capture mouse events in Win32::Console

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found