[27853] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 9217 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu May 4 11:06:01 2006

Date: Thu, 4 May 2006 08:05:05 -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           Thu, 4 May 2006     Volume: 10 Number: 9217

Today's topics:
    Re: How to pipe text or load a file directly into mail- <a24061@yahoo.com>
        new CPAN modules at Thu May  4 2006 (Randal Schwartz)
    Re: Newbie:PERL SNMP GET <matthew.garrish@sympatico.ca>
    Re: Sending an HTTP GET request from Unix to IIS under  <scobloke2@infotop.co.uk>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Thu, 4 May 2006 11:49:34 +0100
From: Adam Funk <a24061@yahoo.com>
Subject: Re: How to pipe text or load a file directly into mail-mode?
Message-Id: <uq2pi3-e7h.ln1@news.ducksburg.com>

[Adding comp.lang.perl.misc because this is now partly a Perl question
 as well as an Emacs question.  I hope this doesn't offend anyone.]


On 2006-05-04, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:

> Ah!  This is a great idea.  You don't even have to use a special
> extension for this.  Emacs parses command-line arguments in order,
> so you can use:
>
>     system("emacs /tmp/xxxxxx -f mail-mode");
>
> to bring up Emacs, open `/tmp/xxxxxx' and then run `mail-mode' :)

Doh!  It's so easy to forget emacs's command-line processing.  

Now I know why 
  $ emacs -f mail-mode foo.mail 
didn't seem to do anything!

I think I'm on the right track now, but I'm having problems with the
fact that the Perl program reads STDIN, processes it and stores the
results in a temp file.  When the Perl program gets to this line:

   my $status = system('emacs', '-nw', $temp_file, '-f mail-mode');

Emacs produces this error:

   standard input is not a tty

and doesn't run.  If I add the --batch option to the emacs command,
emacs runs and quits (it doesn't come up interactively), so that's not
the solution.


------------------------------

Date: Thu, 4 May 2006 04:42:05 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules at Thu May  4 2006
Message-Id: <Iyq525.AAp@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.

Test-Object-0.04
http://search.cpan.org/~adamk/Test-Object-0.04/
Thoroughly testing objects via registered handlers
----
Test-Object-0.03
http://search.cpan.org/~adamk/Test-Object-0.03/
Thoroughly testing objects via registered handlers
----
Text-MeCab-0.05
http://search.cpan.org/~dmaki/Text-MeCab-0.05/
Alternate Interface To libmecab
----
Hatena-API-Auth-0.04
http://search.cpan.org/~naoya/Hatena-API-Auth-0.04/
Perl intaface to the Hatena Authentication API
----
Class-InsideOut-0.90_01
http://search.cpan.org/~dagolden/Class-InsideOut-0.90_01/
a safe, simple inside-out object construction kit
----
B-Generate-1.06_1
http://search.cpan.org/~swalters/B-Generate-1.06_1/
Create your own op trees.
----
Tk-GraphItems-0.02
http://search.cpan.org/~lamprecht/Tk-GraphItems-0.02/
Display relation-graphs on a Tk::Canvas
----
Proc-PID-File-Fcntl-1.00
http://search.cpan.org/~jgmyers/Proc-PID-File-Fcntl-1.00/
Manage PID files using fcntl() locks
----
HTML-TableExtract-2.08
http://search.cpan.org/~msisk/HTML-TableExtract-2.08/
Perl module for extracting the content contained in tables within an HTML document, either as text or encoded element trees.
----
HTML-Element-Extended-1.17
http://search.cpan.org/~msisk/HTML-Element-Extended-1.17/
----
Apache-SWIT-0.12
http://search.cpan.org/~bosu/Apache-SWIT-0.12/
mod_perl based application server with integrated testing.
----
HTML-Tested-ClassDBI-0.05
http://search.cpan.org/~bosu/HTML-Tested-ClassDBI-0.05/
Enhances HTML::Tested to work with Class::DBI
----
HTML-Tested-0.12
http://search.cpan.org/~bosu/HTML-Tested-0.12/
Provides HTML widgets with the built-in means of testing.
----
checkbot-1.78
http://search.cpan.org/~jjdg/checkbot-1.78/
----
Malware-1.02
http://search.cpan.org/~saxjazman/Malware-1.02/
Perl extension for storing and manipulation malware and it's attributes
----
Malware-1.01
http://search.cpan.org/~saxjazman/Malware-1.01/
Perl extension for storing and manipulation malware and it's attributes
----
Cog-0.01
http://search.cpan.org/~ingy/Cog-0.01/
The great new Cog!
----
Devel-STrace-0.30
http://search.cpan.org/~darnold/Devel-STrace-0.30/
strace-like runtime call trace for Perl applications
----
Devel-RingBuffer-0.30
http://search.cpan.org/~darnold/Devel-RingBuffer-0.30/
Shared memory ring buffers for Perl scripts diagnosis/debug
----
IPC-Mmap-0.11
http://search.cpan.org/~darnold/IPC-Mmap-0.11/
provides a minimal mmap() interface for both POSIX and Win32
----
Encode-2.16
http://search.cpan.org/~dankogai/Encode-2.16/
character encodings
----
CogBase-0.10
http://search.cpan.org/~ingy/CogBase-0.10/
A CogBase Implementation in Perl
----
Jifty-DBI-0.21
http://search.cpan.org/~jesse/Jifty-DBI-0.21/
An object-relational persistence framework
----
YAML-Syck-0.44
http://search.cpan.org/~autrijus/YAML-Syck-0.44/
Fast, lightweight YAML loader and dumper
----
httpd_ctl-1.02
http://search.cpan.org/~srshah/httpd_ctl-1.02/
An apache httpd control script that supports Template Toolkit pre-processing
----
Text-MeCab-0.02_03
http://search.cpan.org/~dmaki/Text-MeCab-0.02_03/
Alternate Interface To libmecab
----
Malware-1.00
http://search.cpan.org/~saxjazman/Malware-1.00/
Perl extension for storing and manipulation malware and it's attributes
----
Database-Schema-Verification-1.02
http://search.cpan.org/~saxjazman/Database-Schema-Verification-1.02/
Perl extension for storing and verifing various levels of information
----
Text-MeCab-0.02_02
http://search.cpan.org/~dmaki/Text-MeCab-0.02_02/
Alternate Interface To libmecab
----
Test-C2FIT-0.03
http://search.cpan.org/~tjbyrne/Test-C2FIT-0.03/
----
POE-Component-Client-NNTP-1.01
http://search.cpan.org/~bingos/POE-Component-Client-NNTP-1.01/
A component that provides access to NNTP.
----
XML-FeedPP-0.11
http://search.cpan.org/~kawasaki/XML-FeedPP-0.11/
Parse/write/merge web feeds, RSS/RDF/Atom
----
GDBUI-0.84
http://search.cpan.org/~bronson/GDBUI-0.84/
A fully-featured shell-like command line environment
----
Class-DBI-Sweet-More-0.01
http://search.cpan.org/~asakura/Class-DBI-Sweet-More-0.01/
More sweet Class::DBI::Sweet
----
POE-Component-Generic-0.0904
http://search.cpan.org/~gwyn/POE-Component-Generic-0.0904/
A POE component that provides non-blocking access to a blocking object.
----
Maypole-2.11_pre3
http://search.cpan.org/~teejay/Maypole-2.11_pre3/
MVC web application framework
----
Tree-Binary-Dictionary-0.04
http://search.cpan.org/~teejay/Tree-Binary-Dictionary-0.04/
A dictionary API to a binary tree
----
Catalyst-Plugin-Snippets-0.01
http://search.cpan.org/~nuffin/Catalyst-Plugin-Snippets-0.01/
Make sharing data with clients easy
----
Text-MeCab-0.02_01
http://search.cpan.org/~dmaki/Text-MeCab-0.02_01/
Alternate Interface To libmecab
----
template-1.11
http://search.cpan.org/~abalama/template-1.11/
Templates processing module
----
Search-Estraier-0.05
http://search.cpan.org/~dpavlin/Search-Estraier-0.05/
pure perl module to use Hyper Estraier search engine
----
SOAP-MySOAP-0.01
http://search.cpan.org/~karjala/SOAP-MySOAP-0.01/
An extremely basic SOAP client module
----
Catalyst-5.6901
http://search.cpan.org/~mramberg/Catalyst-5.6901/
The Elegant MVC Web Application Framework
----
Catalyst-Plugin-Continuation-0.01
http://search.cpan.org/~nuffin/Catalyst-Plugin-Continuation-0.01/
Catalyst Continuation Plugin
----
Snail-CSV-0.06
http://search.cpan.org/~mit/Snail-CSV-0.06/
Perl extension for read CSV files.
----
Tk-PerlInheritanceTree-0.01
http://search.cpan.org/~lamprecht/Tk-PerlInheritanceTree-0.01/
Display a graphical representation of the inheritance tree for a given class-name.
----
POE-Component-Server-Ident-1.00
http://search.cpan.org/~bingos/POE-Component-Server-Ident-1.00/
A component that provides non-blocking ident services to your sessions.
----
Catalyst-5.6900
http://search.cpan.org/~mramberg/Catalyst-5.6900/
The Elegant MVC Web Application Framework
----
Test-C2FIT-0.02
http://search.cpan.org/~tjbyrne/Test-C2FIT-0.02/
----
Module-ScanDeps-0.59
http://search.cpan.org/~smueller/Module-ScanDeps-0.59/
Recursively scan Perl code for dependencies
----
Module-Install-0.62
http://search.cpan.org/~adamk/Module-Install-0.62/
Standalone, extensible Perl module installer
----
XML-MyXML-0.02
http://search.cpan.org/~karjala/XML-MyXML-0.02/
An easy and simple way to handle XML documents
----
Locale-Maketext-Simple-0.16
http://search.cpan.org/~autrijus/Locale-Maketext-Simple-0.16/
Simple interface to Locale::Maketext::Lexicon
----
Devel-Symdump-2.0601
http://search.cpan.org/~andk/Devel-Symdump-2.0601/
dump symbol names or the symbol table
----
Finance-BeanCounter-0.8.7
http://search.cpan.org/~edd/Finance-BeanCounter-0.8.7/
Module for stock portfolio performance functions.


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.

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: Thu, 4 May 2006 06:52:14 -0400
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Newbie:PERL SNMP GET
Message-Id: <r1l6g.1676$VV2.126689@news20.bellglobal.com>


"Shanmugt" <Thiagarajan.Shanmuganathan@alcatel.com> wrote in message 
news:1146736918.509804@slbhw0...
> Hello,
> Is there any PERL class for sending a SNMP request.
> Any links would be useful..

You would be wise to acquaint yourself with cpan:

http://search.cpan.org

Perl is the language and perl is the interpreter; you don't have to yell at 
people by capitalizing all the letters.

Matt 




------------------------------

Date: Thu, 04 May 2006 11:32:37 +0100
From: Ian Wilson <scobloke2@infotop.co.uk>
Subject: Re: Sending an HTTP GET request from Unix to IIS under NTLM
Message-Id: <v9ednYaMZYPbRcTZnZ2dnUVZ8tKdnZ2d@bt.com>

Dan Mercer wrote:
> we need an automated way to
> trigger an automated process on the MS Server.  The PC guys
> have set up a special web address that will trigger the event.
> Unfortunately,  the web server is IIS.

<snip>

> I get 401.2 authentication errors.
> The server appears to be using NTLM.

I'd ask the PC guys to enable other authentication methods. ISTR IIS can 
handle basic authentication (maybe even digest based authentication) in 
addition to NTLM.

This would not affect users who are reliant on NTLM authentication (e.g. 
IE users on PCs logged in to a Windows PDC) they can happily continue to 
use NTLM authentication whilst the client on the Unix box uses either 
the simple "basic" authentication or digest-based authentication (which 
I believe is at least as secure as NTLM).


------------------------------

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 V10 Issue 9217
***************************************


home help back first fref pref prev next nref lref last post