Click here to get back home

something like CPAN::AutoInc for scripts

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
something like CPAN::AutoInc for scripts Ted Zlatanov 06-07-2006
Get Chitika Premium
Posted by Ted Zlatanov on June 7, 2006, 4:18 pm
Please log in for more thread options


I would like to distribute a script to users, but the source may
change. So I want to do something like CPAN::AutoInc, but for
scripts.

You'd say "perl -MScript::AutoInc -e'go "TEODOR", "http://lifelogs.com/runthis.pl"'

the script would begin with

use Script::AutoInc qw[TEODOR http://lifelogs.com/runthis.pl];

... actual script here ...

When you run it, if it's updated, the script will get the new version
and overwrite the old one (if possible). Then it runs the new
version. So just that first line is enough as a stub. But if the
external server is not accessible, or the user wants to skip the
update check, they have the option to run the current version of the
script.

The "TEODOR" CPAN name gets a public key and checks if the released
script is signed appropriately for some small measure of security.

Has this been done before? I can put a module together quickly
myself, but wanted to make sure I'm not missing an existing module.

Thanks
Ted

Similar ThreadsPosted
CGI scripts and modular design? September 28, 2004, 9:41 am
New Script Directory needs your scripts listed September 3, 2005, 6:32 pm
Free CGI scripts to search sites? February 12, 2006, 10:15 am
Running compiled Inline C perl scripts on more than one machine February 9, 2006, 12:12 pm
What module is needed to allow scripts to post to HTTPS sites? August 2, 2006, 8:06 am
trying to use HTML::Mason on apache2 but scripts come up as plain text in the browser October 23, 2006, 1:50 am
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails May 10, 2005, 9:51 pm
Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? May 9, 2008, 1:04 pm
Cpan and gcc September 27, 2005, 8:38 pm
PHP on CPAN? April 16, 2006, 6:56 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap