[30184] in Perl-Users-Digest
Perl-Users Digest, Issue: 1427 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Apr 7 03:09:41 2008
Date: Mon, 7 Apr 2008 00:09:06 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 7 Apr 2008 Volume: 11 Number: 1427
Today's topics:
Re: FYI - How to add CPAN as a search plugin for Firefo <jasonkohles@gmail.com>
new CPAN modules on Mon Apr 7 2008 (Randal Schwartz)
Re: Newbie wants a simple script in perl <joe@inwap.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 6 Apr 2008 20:17:06 -0700 (PDT)
From: "email@jasonkohles.com" <jasonkohles@gmail.com>
Subject: Re: FYI - How to add CPAN as a search plugin for Firefox
Message-Id: <d6122437-b668-46a2-8bf5-f1e6143d3b1c@24g2000hsh.googlegroups.com>
On Apr 2, 1:42 pm, David Filmer <use...@davidfilmer.com> wrote:
> I dunno about Mac, though there should be a searchplugins directory
> wherever Firefox itself is installed.
On a Mac you can either add it to the Firefox.app directory itself,
normally /Applications/Firefox.app/Contents/MacOS/searchplugins, or
add it to your library directory in ~/Library/Application Support/
Firefox/Profiles/(some random characters).default/searchplugins.
--
Jason Kohles
http://www.jasonkohles.com/
------------------------------
Date: Mon, 7 Apr 2008 04:42:21 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Mon Apr 7 2008
Message-Id: <JyxuEL.JqB@zorch.sf-bay.org>
The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN). You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.
Bundle-Text-SenseClusters-1.01
http://search.cpan.org/~tpederse/Bundle-Text-SenseClusters-1.01/
Bundle to install Text::SenseClusters and all of its dependent CPAN modules.
----
Cache-Funky-Storage-Memcached-0.05
http://search.cpan.org/~tomyhero/Cache-Funky-Storage-Memcached-0.05/
Cache::Funky Memcached Storage.
----
Catalyst-Authentication-Credential-OpenID-0.01
http://search.cpan.org/~ashley/Catalyst-Authentication-Credential-OpenID-0.01/
OpenID credential for Catalyst::Authentication framework.
----
Catalyst-Controller-AllowDisable-0.02
http://search.cpan.org/~tomyhero/Catalyst-Controller-AllowDisable-0.02/
Use when you want to disable your controller.
----
Catalyst-Controller-SOAP-0.8
http://search.cpan.org/~druoso/Catalyst-Controller-SOAP-0.8/
Catalyst SOAP Controller
----
Catalyst-Model-CacheFunky-Loader-0.05
http://search.cpan.org/~tomyhero/Catalyst-Model-CacheFunky-Loader-0.05/
Load Cache::Funky Modules.
----
Catalyst-Plugin-ConfigLoader-Multi-0.04
http://search.cpan.org/~tomyhero/Catalyst-Plugin-ConfigLoader-Multi-0.04/
Catalyst Plugin for Multiple ConfigLoader
----
Data-Float-0.009
http://search.cpan.org/~zefram/Data-Float-0.009/
details of the floating point data type
----
Devel-Size-Report-0.13
http://search.cpan.org/~tels/Devel-Size-Report-0.13/
generate a size report for all elements in a structure
----
Fukurama-Class-0.031
http://search.cpan.org/~tobiwan/Fukurama-Class-0.031/
Pragma to extend the Perl-OO (in native Perl)
----
MIME-Charset-1.005
http://search.cpan.org/~nezumi/MIME-Charset-1.005/
Charset Informations for MIME
----
Math-SparseMatrix-0.03
http://search.cpan.org/~tpederse/Math-SparseMatrix-0.03/
Provides basic sparse matrix operations such as creation, reading from file, reading transpose from file and writing to file.
----
Set-Light-0.04
http://search.cpan.org/~tels/Set-Light-0.04/
(memory efficient) unordered set of strings
----
Sub-Prototype-Util-0.01
http://search.cpan.org/~vpit/Sub-Prototype-Util-0.01/
Prototypes-related utility routines.
----
Sub-Prototype-Util-0.02
http://search.cpan.org/~vpit/Sub-Prototype-Util-0.02/
Prototype-related utility routines.
----
Sub-Prototype-Util-0.03
http://search.cpan.org/~vpit/Sub-Prototype-Util-0.03/
Prototype-related utility routines.
----
Test-Class-0.29
http://search.cpan.org/~adie/Test-Class-0.29/
Easily create test classes in an xUnit/JUnit style
----
Text-SenseClusters-1.01
http://search.cpan.org/~tpederse/Text-SenseClusters-1.01/
Cluster similar contexts using co-occurrence matrices and Latent Semantic Analysis
----
Text-Similarity-0.06
http://search.cpan.org/~tpederse/Text-Similarity-0.06/
Measure the pair-wise Similarity of Files or Strings
----
WWW-Search-2.501
http://search.cpan.org/~mthurn/WWW-Search-2.501/
Virtual base class for WWW searches
----
WebService-ISBNDB-0.34
http://search.cpan.org/~rjray/WebService-ISBNDB-0.34/
A Perl extension to access isbndb.com
----
WordNet-Similarity-Visual-0.07
http://search.cpan.org/~tpederse/WordNet-Similarity-Visual-0.07/
Perl extension for providing visualization tools for WordNet::Similarity
----
WordNet-Similarity-Visual-0.08
http://search.cpan.org/~tpederse/WordNet-Similarity-Visual-0.08/
Perl extension for providing visualization tools for WordNet::Similarity
If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.
This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
http://www.stonehenge.com/merlyn/LinuxMag/col82.html
print "Just another Perl hacker," # the original
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
------------------------------
Date: Sun, 06 Apr 2008 23:34:17 -0700
From: Joe Smith <joe@inwap.com>
Subject: Re: Newbie wants a simple script in perl
Message-Id: <ldudnZitHpP3XWTanZ2dnUVZ_rKtnZ2d@comcast.com>
2007 wrote:
> Also, if I use "print" within perl to the dump a executable command to
> the monitor, will the process be executed and the perl will wait
> before it throws the next one to screen?
1) As written: It simply does not happen that way.
2) I use something like that all the time, by piping the output
from a perl script into 'sh' or 'bash'.
perl generate_commands.pl input.txt | sh
The logic for generate_commands.pl is quite simple.
1) Use <> to read list of names, one line at a time.
2) Parse the input line to get the name of an input data file.
3) Come up with the name of an output file based on that.
4) Execute an external command, giving it the names of the
input data file and output file.
5) Execute a second external command.
6) Loop back to step 1 until end of list.
There are several ways to perform step 4:
my $results = `$command1 $in_file $out_file`;
or
my $error_code = system "$command1 $in_file $out_file";
warn "Something went wrong: $? ($!)" unless $error_code == 0;
or
print PIPE "$command1 $in_file $out_file\n";
The other steps are so trivial that you won't have any problem
finding them in any Perl tutorial.
That should be enough for you to write the script yourself. Good luck.
-Joe
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V11 Issue 1427
***************************************