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

Re^2: Install Perl module from CPAN (Apple Mac Service)

by usemodperl (Beadle)
on Jul 09, 2018 at 18:23 UTC ( #1218179=note: print w/replies, xml ) Need Help??


in reply to Re: Install Perl module from CPAN (Apple Mac Service)
in thread Install Perl module from CPAN (Apple Mac Service)

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:

  1. Extends your CPAN client to respond to mouse actions only, no keyboard is required to install modules.


  2. 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!


  3. Extends your browser as if some sort of CPAN plugin was installed since modules can be selected from any site.


  4. 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 🐪

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2022-12-08 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?