Greetings Anonymous Friend! This Applescript wrapper for your CPAN client was
developed to enhance accessibility on Apple Mac so Perl modules
can be installed without typing (see System Preferences -> Accessibility).
Physical situations and disabilities exist that prevent typing, or make
it difficult, and this software solves that problem. I have thousands of
CPAN modules installed and can assure you this is an efficient TIMTOWTDI
to typing. Can you elaborate on the potential dangers of essentially
copying and pasting text to a CPAN client? I'm eager to fix any problems.
This code provides several innovations that do not
otherwise exist in the known universe AFAIK:
- Extends your CPAN client to respond to mouse actions only, no
keyboard is required to install modules.
- Extends the CPAN site to have something like a "click to install" button
except this requires: click; select; click; click: Perl module installed!
One can also assign a keyboard shortcut (System Preferences ->
Keyboard -> Shortcuts -> Services) to eliminate the last 2 clicks:
click; select; key: Installed!
- Extends your browser as if some sort of CPAN plugin was installed since modules
can be selected from any site.
- Extends the entire OS by providing glue between selected text and CPAN and
Perl.
All that with one word of Perl wrapped in 17 lines of Applescript!
To see the Perl that cpan and cpanm mean type less $(which cpanm)
in shell. Thank you for participating in the development of free accessibility
software for Apple Mac OSX and macOS written for Perl and CPAN!
This code can also be implemented as a voice command to make
your own Perl-centric voice assistant: "Hey CPAN, install
Some::Module", "Dave, The module has been installed.", "Ok
CPAN, install Other::Module", "I'm sorry Dave. I'm afraid I
can't do that. Other::Module is already installed. Would you
like to upgrade or reinstall the module, Dave?"
STOP REINVENTING WHEELS ⚛ START BUILDING SPACE ROCKETS!—CPAN 🐪
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|