I created a VM with a Win10 install quickly, and performed the following tasks to get Win32::MultiMedia::Joystick to seemingly work (well, it doesn't complain about missing modules or brokenness). I use berrybrew here, as it allows you to keep separate your system Perl, and allows you to remove an installation if it breaks, and re-install at will.
- download/extract berrybrew.zip somewhere (not c:\berrybrew)
- open a cmd window
- cd berrybrew
- bin\berrybrew.exe config (type 'y' when asked)
- close the current cmd window and open a new one
- berrybrew install 5.24.0_64
- berrybrew switch 5.24.0_64
- close cmd window, open a new one
- cpanm Win32::MultiMedia::Joystick
Then, on the command line:
perl -MWin32::MultiMedia::Joystick -e ''
You shouldn't get any errors. Attempt running your script on the command line at this point and see what happens.
To go back to using your (possibly broken) system Perl, just do berrybrew off.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.