[30700] in Perl-Users-Digest
Perl-Users Digest, Issue: 1945 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Oct 26 03:09:42 2008
Date: Sun, 26 Oct 2008 00:09:08 -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 Sun, 26 Oct 2008 Volume: 11 Number: 1945
Today's topics:
Re: can LWP handle this? <hjp-usenet2@hjp.at>
Re: Comparison of two files.. <whynot@pozharski.name>
Re: Filehandle STDIN reopened as $fh1 only for output <hjp-usenet2@hjp.at>
Re: Filehandle STDIN reopened as $fh1 only for output <whynot@pozharski.name>
Re: Filehandle STDIN reopened as $fh1 only for output <nospam-abuse@ilyaz.org>
Re: Filehandle STDIN reopened as $fh1 only for output <nospam-abuse@ilyaz.org>
new CPAN modules on Sat Oct 25 2008 (Randal Schwartz)
new CPAN modules on Sun Oct 26 2008 (Randal Schwartz)
perl module to write on a var <dontmewithme@got.it>
Re: perl module to write on a var zhaowu@gmail.com
Re: Question on the length of a Scalar <hjp-usenet2@hjp.at>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 25 Oct 2008 11:57:07 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: can LWP handle this?
Message-Id: <slrngg5rbj.rj6.hjp-usenet2@hrunkner.hjp.at>
On 2008-10-22 10:32, Larry <dontmewithme@got.it> wrote:
> In article <slrngfsbhj.h0e.hjp-usenet2@hrunkner.hjp.at>,
> "Peter J. Holzer" <hjp-usenet2@hjp.at> wrote:
>> If this works with your server, that's fine, but I don't think you can
>> rely on this. If you send less than 2048000000 bytes, a server might (or
>> even should) conclude that something went wrong at the client end and
>> return an error.
>
> Thank you for pointing that out. Actually I'm sending endless data and
> if I try "transfer chunked" my server will fire a "411 Length Required"
> error!
In this case you will at some point have sent 2048000000 bytes. Then the
server will consider the input complete and send a reply.
Do you use HTTP/1.0 or HTTP/1.1? In HTTP/1.1, Transfer-Encoding: chunked
should work for requests (see RFC 2616).
hp
------------------------------
Date: Sat, 25 Oct 2008 01:19:16 +0300
From: Eric Pozharski <whynot@pozharski.name>
Subject: Re: Comparison of two files..
Message-Id: <slrngg4if5.1gi.whynot@orphan.zombinet>
On 2008-10-24, Jim Gibson <jimsgibson@gmail.com> wrote:
> In article
><f9bc7a7e-e609-440e-aaa6-ed7e9f41a5a5@c22g2000prc.googlegroups.com>,
><clearguy02@yahoo.com> wrote:
>
*SKIP*
>> while ( <$input> )
>> {
>> if ( /^(\w+)/ )
>> {
>> if ( exists $fields2{ $1 } )
>> {
>> print $matching "$_\n";
>> }
>> else
>> {
>> print $non_matching "$_\n";
>> }
>> }
>> }
>>
>> ++++++++++++++++++++++++++++++++++++
>>
>> What I am doing wrong here? Or is there any alternative way of doing
>> it?
>
> There doesn't appear to be anything wrong with your code (nothing
> obvious anyway). While there are certainly alternate ways of doing
Looking at that --
perl -wle '
q|x| =~ m/(x)/; print $1;
q|y| =~ m/(x)/; print $1;'
x
x
I suppose, that OP doesn't show his code.
*CUT*
--
Torvalds' goal for Linux is very simple: World Domination
------------------------------
Date: Sat, 25 Oct 2008 11:18:23 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: Filehandle STDIN reopened as $fh1 only for output
Message-Id: <slrngg5p2v.rj6.hjp-usenet2@hrunkner.hjp.at>
On 2008-10-23 15:34, xhoster@gmail.com <xhoster@gmail.com> wrote:
> Tad J McClellan <tadmc@seesig.invalid> wrote:
>> Let's see what perldiag says about that message:
>>
>> =item Filehandle STDIN reopened as %s only for output
>>
>> (W io) You opened for writing a filehandle that got the same
>> filehandle id as STDIN. This occurred because you closed STDIN
>> previously.
>
> But that is a pretty useless explanation. OK, so some file handle got
> opened to some file descriptor.
It is not "some filehandle", it is STDIN. STDIN is supposed to be opened
for input, and some library function may break if STDIN is not opened
for input. It is also almost certainly a bug - how often do
intentionally open STDIN for output?
While this is easy to detect and warn about, STDIN is actually the most
harmless of the three standard file handles. The most dangerous is
STDERR, because perl itself and lots of library functions assume that
they can write anything to STDERR. If you have inadvertently reopened
STDERR as an output file, you may end up with a corrupted output (this
is especially dangerous for setuid programs, so Linux/glibc makes sure
that the first three file handles are always open before main is called
in this case).
hp
------------------------------
Date: Sat, 25 Oct 2008 11:41:00 +0300
From: Eric Pozharski <whynot@pozharski.name>
Subject: Re: Filehandle STDIN reopened as $fh1 only for output
Message-Id: <slrngg5mss.1ee.whynot@orphan.zombinet>
On 2008-10-24, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> [A complimentary Cc of this posting was sent to Eric Pozharski
><whynot@pozharski.name>], who wrote in article
><slrngg2pa1.1vm.whynot@orphan.zombinet>:
>> On 2008-10-23, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
>> *SKIP*
>> > The 2nd time you open A FILE for writing, OS (again!) chooses the
>> > first unused handle, so get handle 0 again. This time Perl detects
>> > that STDIN is opened for write, and decides to warn(). This time
>> > Perl heuristic is wrong, and this warning is not relevant. You can
>> > selectively disable it, as another poster recommends.
>> What heuristic?
> Compiler warnings are always heuristic: "I see something fishy".
> Should I risk to annoy the user if this is an intended behaviour? Is
> this annoyance balanced against having good enough chance that this
> behaviour is not intended? This is a difference between compiler
> warnings and compliler errors...
=begin rant
Begging for favor. What exactly in my post, posting history, spelling,
style, formatting, first name, last name, Path:, Message-Id:, From:,
whatever made you believe that I'm dying to be spoon-feeded?
=end rant
What heuristic?
--
Torvalds' goal for Linux is very simple: World Domination
------------------------------
Date: Sun, 26 Oct 2008 01:15:28 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: Filehandle STDIN reopened as $fh1 only for output
Message-Id: <ge0gbg$2rpf$1@agate.berkeley.edu>
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Peter J. Holzer
<hjp-usenet2@hjp.at>], who wrote in article <slrngg5p2v.rj6.hjp-usenet2@hrunkner.hjp.at>:
> On 2008-10-23 15:34, xhoster@gmail.com <xhoster@gmail.com> wrote:
> > Tad J McClellan <tadmc@seesig.invalid> wrote:
> >> Let's see what perldiag says about that message:
> >>
> >> =item Filehandle STDIN reopened as %s only for output
> >>
> >> (W io) You opened for writing a filehandle that got the same
> >> filehandle id as STDIN. This occurred because you closed STDIN
> >> previously.
> >
> > But that is a pretty useless explanation. OK, so some file handle got
> > opened to some file descriptor.
> It is not "some filehandle", it is STDIN.
No it's not.
> STDIN is supposed to be opened for input, and some library function
> may break if STDIN is not opened for input.
What library? CRTL knows nothing about what Perl calls STDIN [*]. Perl
libraries know zilch about '&=0' (I did my `grep' ;-).
> It is also almost certainly a bug - how often do
> intentionally open STDIN for output?
Nobody opened STDIN for anything: input, or output.
Try:
perl -wle "close STDIN; open my $f, q(<), q(o) or die; print fileno $f; defined(my $x = <STDIN>) or die 11"
0
readline() on closed filehandle STDIN at -e line 1.
11 at -e line 1.
The message we are discussing is VERY misleading.
[*] Of course, if Perl is not compiled to use stdstdio, then CRTL's
stdin may be left "dangling" after close(STDIN). So it is
close(STDIN) which causes problems, not open()...
Yours,
Ilya
------------------------------
Date: Sun, 26 Oct 2008 01:18:15 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: Filehandle STDIN reopened as $fh1 only for output
Message-Id: <ge0ggn$2rq3$1@agate.berkeley.edu>
[A complimentary Cc of this posting was sent to
Eric Pozharski
<whynot@pozharski.name>], who wrote in article <slrngg5mss.1ee.whynot@orphan.zombinet>:
> On 2008-10-24, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> > [A complimentary Cc of this posting was sent to Eric Pozharski
> ><whynot@pozharski.name>], who wrote in article
> ><slrngg2pa1.1vm.whynot@orphan.zombinet>:
> >> On 2008-10-23, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> >> *SKIP*
> >> > The 2nd time you open A FILE for writing, OS (again!) chooses the
> >> > first unused handle, so get handle 0 again. This time Perl detects
> >> > that STDIN is opened for write, and decides to warn(). This time
> >> > Perl heuristic is wrong, and this warning is not relevant. You can
> >> > selectively disable it, as another poster recommends.
> >> What heuristic?
> > Compiler warnings are always heuristic: "I see something fishy".
> > Should I risk to annoy the user if this is an intended behaviour? Is
> > this annoyance balanced against having good enough chance that this
> > behaviour is not intended? This is a difference between compiler
> > warnings and compliler errors...
>
> =begin rant
>
> Begging for favor. What exactly in my post, posting history, spelling,
> style, formatting, first name, last name, Path:, Message-Id:, From:,
> whatever made you believe that I'm dying to be spoon-feeded?
>
> =end rant
>
> What heuristic?
??? See above.
Hope this helps,
Ilya
P.S. Hmm, maybe you indeed need to be spoon-fed... Then: the heuristic
"if fd=0 is opened for write, then it is a user error"
------------------------------
Date: Sat, 25 Oct 2008 04:42:24 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Sat Oct 25 2008
Message-Id: <K9A2Eo.1D5v@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.
Acme-CPANAuthors-Brazilian-0.03
http://search.cpan.org/~garu/Acme-CPANAuthors-Brazilian-0.03/
We are brazilian CPAN authors
----
Acme-Magic-Pony-0.02
http://search.cpan.org/~jlavallee/Acme-Magic-Pony-0.02/
Schwern asked for a Magic Pony!
----
Algorithm-Diff-XS-0.04
http://search.cpan.org/~audreyt/Algorithm-Diff-XS-0.04/
Algorithm::Diff with XS core loop
----
Apache2-ASP-2.00_09
http://search.cpan.org/~johnd/Apache2-ASP-2.00_09/
ASP for Perl, reloaded.
----
App-Hachero-0.04
http://search.cpan.org/~danjou/App-Hachero-0.04/
a plaggable log analyzing framework
----
CGI-Application-Plugin-DevPopup-1.01
http://search.cpan.org/~rhesa/CGI-Application-Plugin-DevPopup-1.01/
Runtime cgiapp info in a popup window
----
CGI-Application-Plugin-RunmodeDeclare-0.03_02
http://search.cpan.org/~rhesa/CGI-Application-Plugin-RunmodeDeclare-0.03_02/
Declare runmodes with keywords
----
CGI-Application-Plugin-RunmodeDeclare-0.03_03
http://search.cpan.org/~rhesa/CGI-Application-Plugin-RunmodeDeclare-0.03_03/
Declare runmodes with keywords
----
CPAN-PackageDetails-0.10_01
http://search.cpan.org/~bdfoy/CPAN-PackageDetails-0.10_01/
Create or read 02.packages.details.txt.gz
----
CPAN-PackageDetails-0.11_01
http://search.cpan.org/~bdfoy/CPAN-PackageDetails-0.11_01/
Create or read 02.packages.details.txt.gz
----
Catalyst-Controller-RateLimit-0.14
http://search.cpan.org/~gugu/Catalyst-Controller-RateLimit-0.14/
Protect your site from robots
----
Class-DBI-Lite-0.014
http://search.cpan.org/~johnd/Class-DBI-Lite-0.014/
Lightweight ORM for Perl
----
Class-MOP-0.68
http://search.cpan.org/~drolsky/Class-MOP-0.68/
A Meta Object Protocol for Perl 5
----
DBD-mysql-4.010
http://search.cpan.org/~capttofu/DBD-mysql-4.010/
MySQL driver for the Perl5 Database Interface (DBI)
----
DBIx-Class-InflateColumn-Object-Enum-0.01
http://search.cpan.org/~jmmills/DBIx-Class-InflateColumn-Object-Enum-0.01/
Allows a DBIx::Class user to define a Object::Enum column
----
Data-Util-0.02
http://search.cpan.org/~gfuji/Data-Util-0.02/
A selection of utilities for data and data types
----
Data-Util-0.03
http://search.cpan.org/~gfuji/Data-Util-0.03/
A selection of utilities for data and data types
----
Devel-Declare-0.002999_01
http://search.cpan.org/~flora/Devel-Declare-0.002999_01/
Adding keywords to perl, in perl
----
Devel-Declare-0.003000
http://search.cpan.org/~flora/Devel-Declare-0.003000/
Adding keywords to perl, in perl
----
Devel-Size-0.72
http://search.cpan.org/~browseruk/Devel-Size-0.72/
Perl extension for finding the memory usage of Perl variables
----
GD-Tab-Guitar-0.01
http://search.cpan.org/~taniguchi/GD-Tab-Guitar-0.01/
Guitar tab image generator.
----
Gnaw-0.10
http://search.cpan.org/~gslondon/Gnaw-0.10/
Define parse grammars using perl subroutine calls. No intermediate grammar languages.
----
Gnaw-0.11
http://search.cpan.org/~gslondon/Gnaw-0.11/
Define parse grammars using perl subroutine calls. No intermediate grammar languages.
----
HTML-Accessors-0.1.45
http://search.cpan.org/~pjfl/HTML-Accessors-0.1.45/
Generate HTML elements
----
HTML-ExtractContent-0.05
http://search.cpan.org/~tarao/HTML-ExtractContent-0.05/
An HTML content extractor with scoring heuristics
----
HTML-Template-Plugin-Dot-Helpers-0.04
http://search.cpan.org/~rhesa/HTML-Template-Plugin-Dot-Helpers-0.04/
Add useful objects to your templates
----
HTTP-Session-0.02
http://search.cpan.org/~tokuhirom/HTTP-Session-0.02/
simple session
----
LEOCHARRE-Class2-1.12
http://search.cpan.org/~leocharre/LEOCHARRE-Class2-1.12/
----
Locale-Maketext-Extract-Plugin-XSL-0.2
http://search.cpan.org/~pepl/Locale-Maketext-Extract-Plugin-XSL-0.2/
XSL file parser
----
MP3-Tag-0.9712
http://search.cpan.org/~ilyaz/MP3-Tag-0.9712/
Module for reading tags of MP3 audio files
----
Mail-Log-Parse-1.002
http://search.cpan.org/~dstaal/Mail-Log-Parse-1.002/
Parse and return info in maillogs
----
Moose-0.60
http://search.cpan.org/~drolsky/Moose-0.60/
A postmodern object system for Perl 5
----
MooseX-Types-0.06
http://search.cpan.org/~jjnapiork/MooseX-Types-0.06/
Organise your Moose types in libraries
----
Net-Calais-1.01
http://search.cpan.org/~aar/Net-Calais-1.01/
Interface to OpenCalais web service
----
Net-CyanChat-0.06
http://search.cpan.org/~kirsle/Net-CyanChat-0.06/
Perl interface for connecting to Cyan Worlds' chat room.
----
Net-SFTP-Foreign-1.45_01
http://search.cpan.org/~salva/Net-SFTP-Foreign-1.45_01/
SSH File Transfer Protocol client
----
POE-Component-DirWatch-0.200000
http://search.cpan.org/~groditi/POE-Component-DirWatch-0.200000/
POE directory watcher
----
RPC-XML-Parser-LibXML-0.04
http://search.cpan.org/~miyagawa/RPC-XML-Parser-LibXML-0.04/
Fast XML-RPC parser with libxml
----
Sledge-Cache-Memcached-Fast-0.01
http://search.cpan.org/~tokuhirom/Sledge-Cache-Memcached-Fast-0.01/
Cache::Memcached::Fast bindings for Sledge::Cache
----
Test-Email-0.07
http://search.cpan.org/~james/Test-Email-0.07/
Test Email Contents
----
Tie-Cache-LRU-20081023
http://search.cpan.org/~mschwern/Tie-Cache-LRU-20081023/
A Least-Recently Used cache
----
Tie-Cache-LRU-20081023.2116
http://search.cpan.org/~mschwern/Tie-Cache-LRU-20081023.2116/
A Least-Recently Used cache
----
Tk-MK-0.14
http://search.cpan.org/~mikra/Tk-MK-0.14/
----
URI-ParseSearchString-2.7
http://search.cpan.org/~sden/URI-ParseSearchString-2.7/
parse search engine referrer URLs and extract keywords used
----
WebService-Cath-FuncNet-0.01
http://search.cpan.org/~isillitoe/WebService-Cath-FuncNet-0.01/
Interface to the CATH FuncNet webservice
----
WebService-Livedoor-SpamChampuru-DNSBL-0.02
http://search.cpan.org/~kyanny/WebService-Livedoor-SpamChampuru-DNSBL-0.02/
Perl interface of SpamChampuru DNSBL WebService
----
Wiki-Toolkit-Plugin-JSON-0.02
http://search.cpan.org/~dom/Wiki-Toolkit-Plugin-JSON-0.02/
A Wiki::Toolkit plugin to output RecentChanges JSON.
----
XML-RPC-Fast-0.1
http://search.cpan.org/~mons/XML-RPC-Fast-0.1/
Faster implementation for an XML-RPC client and server (based on XML::RPC)
----
Xacobeo-0.01
http://search.cpan.org/~potyl/Xacobeo-0.01/
XPath (XML Path Language) visualizer.
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/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
------------------------------
Date: Sun, 26 Oct 2008 04:42:24 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Sun Oct 26 2008
Message-Id: <K9Bx2o.K5s@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.
Acme-PlayCode-0.04
http://search.cpan.org/~fayland/Acme-PlayCode-0.04/
Play code to win
----
Acme-PlayCode-0.05
http://search.cpan.org/~fayland/Acme-PlayCode-0.05/
Play code to win
----
AnyEvent-Mojo-0.2
http://search.cpan.org/~melo/AnyEvent-Mojo-0.2/
Run Mojo apps using AnyEvent framework
----
Apache-RandomImage-0.2
http://search.cpan.org/~pepl/Apache-RandomImage-0.2/
Lightweight module to randomly display images from a directory.
----
App-Rad-0.3
http://search.cpan.org/~garu/App-Rad-0.3/
Rapid (and easy!) creation of command line applications
----
App-ZofCMS-Plugin-ConditionalRedirect-0.0101
http://search.cpan.org/~zoffix/App-ZofCMS-Plugin-ConditionalRedirect-0.0101/
redirect users based on conditions
----
App-ZofCMS-Plugin-Debug-Dumper-0.0101
http://search.cpan.org/~zoffix/App-ZofCMS-Plugin-Debug-Dumper-0.0101/
small debugging plugin that Data::Dumper::Dumper()s interesting portions into {t}
----
App-ZofCMS-Plugin-UserLogin-0.0102
http://search.cpan.org/~zoffix/App-ZofCMS-Plugin-UserLogin-0.0102/
restrict access to pages based on user accounts
----
Attribute-Handlers-0.80
http://search.cpan.org/~smueller/Attribute-Handlers-0.80/
Simpler definition of attribute handlers
----
B-Hooks-OP-Check-EntersubForCV-0.02
http://search.cpan.org/~flora/B-Hooks-OP-Check-EntersubForCV-0.02/
Invoke callbacks on construction of entersub OPs for certain CVs
----
B-Hooks-OP-Check-StashChange-0.03
http://search.cpan.org/~flora/B-Hooks-OP-Check-StashChange-0.03/
Invoke callbacks when the stash code is being compiled in changes
----
CGI-Application-Plugin-RunmodeDeclare-0.04
http://search.cpan.org/~rhesa/CGI-Application-Plugin-RunmodeDeclare-0.04/
Declare runmodes with keywords
----
CGI-Application-Plugin-RunmodeDeclare-0.05
http://search.cpan.org/~rhesa/CGI-Application-Plugin-RunmodeDeclare-0.05/
Declare runmodes with keywords
----
CGI-Application-Plugin-RunmodeDeclare-0.06
http://search.cpan.org/~rhesa/CGI-Application-Plugin-RunmodeDeclare-0.06/
Declare runmodes with keywords
----
CPAN-Mini-Inject-0.23
http://search.cpan.org/~ssoriche/CPAN-Mini-Inject-0.23/
Inject modules into a CPAN::Mini mirror.
----
Data-Validation-0.2.64
http://search.cpan.org/~pjfl/Data-Validation-0.2.64/
Check data values for conformance with constraints
----
Devel-BeginLift-0.001001
http://search.cpan.org/~flora/Devel-BeginLift-0.001001/
make selected sub calls evaluate at compile time
----
Devel-Declare-0.003001
http://search.cpan.org/~flora/Devel-Declare-0.003001/
Adding keywords to perl, in perl
----
Devel-Declare-0.003002
http://search.cpan.org/~flora/Devel-Declare-0.003002/
Adding keywords to perl, in perl
----
Devel-StackTrace-1.20
http://search.cpan.org/~drolsky/Devel-StackTrace-1.20/
Stack trace and stack trace frame objects
----
Exception-Class-1.26
http://search.cpan.org/~drolsky/Exception-Class-1.26/
A module that allows you to declare real exception classes in Perl
----
Foorum-0.3.0
http://search.cpan.org/~fayland/Foorum-0.3.0/
forum system based on Catalyst
----
GD-Tab-Guitar-0.02
http://search.cpan.org/~taniguchi/GD-Tab-Guitar-0.02/
Guitar tab image generator.
----
Gnaw-0.12
http://search.cpan.org/~gslondon/Gnaw-0.12/
Define parse grammars using perl subroutine calls. No intermediate grammar languages.
----
HTTP-Session-0.03
http://search.cpan.org/~tokuhirom/HTTP-Session-0.03/
simple session
----
HTTP-Session-0.04
http://search.cpan.org/~tokuhirom/HTTP-Session-0.04/
simple session
----
HTTP-Session-Store-DBI-0.01
http://search.cpan.org/~fayland/HTTP-Session-Store-DBI-0.01/
store session data in DBI for HTTP::Session
----
HTTPDownloadLimit-0.1
http://search.cpan.org/~nanobit/HTTPDownloadLimit-0.1/
----
IO-Lambda-0.31
http://search.cpan.org/~karasik/IO-Lambda-0.31/
non-blocking I/O in lambda style
----
IO-Lambda-0.32
http://search.cpan.org/~karasik/IO-Lambda-0.32/
non-blocking I/O in lambda style
----
KiokuDB-0.02
http://search.cpan.org/~nuffin/KiokuDB-0.02/
Object Graph storage engine
----
LaTeX-Pod-0.18_01
http://search.cpan.org/~schubiger/LaTeX-Pod-0.18_01/
Transform LaTeX source files to POD (Plain old documentation)
----
Lingua-KO-DateTime-0.03
http://search.cpan.org/~aero/Lingua-KO-DateTime-0.03/
convert time to korean format.
----
Lingua-Phonology-0.33
http://search.cpan.org/~jaspax/Lingua-Phonology-0.33/
a module providing a unified way to deal with linguistic representations of phonology.
----
Mac-iPod-GNUpod-1.24
http://search.cpan.org/~jaspax/Mac-iPod-GNUpod-1.24/
Add and remove songs from your iPod; read and write databases in iTunes and GNUpod format
----
Metadata-DB-1.13
http://search.cpan.org/~leocharre/Metadata-DB-1.13/
----
Method-Signatures-Simple-0.02
http://search.cpan.org/~rhesa/Method-Signatures-Simple-0.02/
Basic method declarations with signatures, without source filters
----
Method-Signatures-Simple-0.03
http://search.cpan.org/~rhesa/Method-Signatures-Simple-0.03/
Basic method declarations with signatures, without source filters
----
Mozilla-Mechanize-GUITester-0.17
http://search.cpan.org/~bosu/Mozilla-Mechanize-GUITester-0.17/
enhances Mozilla::Mechanize with GUI testing.
----
Net-DNSBL-MultiDaemon-0.23
http://search.cpan.org/~miker/Net-DNSBL-MultiDaemon-0.23/
multi DNSBL prioritization
----
Net-SNMP-Mixin-IpRouteTable-0.02
http://search.cpan.org/~gaissmai/Net-SNMP-Mixin-IpRouteTable-0.02/
mixin class for the mib-II ipRouteTable
----
PDL-2.4.3_03
http://search.cpan.org/~chm/PDL-2.4.3_03/
the Perl Data Language
----
Pod-Elemental-0.002
http://search.cpan.org/~rjbs/Pod-Elemental-0.002/
work with nestable POD elements
----
Pod-Eventual-0.005
http://search.cpan.org/~rjbs/Pod-Eventual-0.005/
read a POD document as a series of trivial events
----
QDBM_File-1.00
http://search.cpan.org/~yamato/QDBM_File-1.00/
Tied access to Quick Database Manager
----
RDF-Redland-Model-ExifTool-0.06
http://search.cpan.org/~arnhemcr/RDF-Redland-Model-ExifTool-0.06/
extends RDF model to process Exif meta data
----
Rose-DB-Object-0.774
http://search.cpan.org/~jsiracusa/Rose-DB-Object-0.774/
Extensible, high performance object-relational mapper (ORM).
----
STAFService-0.24
http://search.cpan.org/~semuelf/STAFService-0.24/
Perl extension for writing STAF Services easily.
----
Shell-Perl-0.0018
http://search.cpan.org/~ferreira/Shell-Perl-0.0018/
A read-eval-print loop in Perl
----
Task-KiokuDB-0.01
http://search.cpan.org/~nuffin/Task-KiokuDB-0.01/
Install KiokuDB and related modules.
----
Template-Toolkit-Simple-0.02
http://search.cpan.org/~ingy/Template-Toolkit-Simple-0.02/
A Simple Interface to Template Toolkit
----
Test-Output-0.12
http://search.cpan.org/~ssoriche/Test-Output-0.12/
Utilities to test STDOUT and STDERR messages.
----
Text-Editor-Easy-0.42
http://search.cpan.org/~grommier/Text-Editor-Easy-0.42/
A perl module to edit perl code with syntax highlighting and more.
----
Text-Ngrams-2.001
http://search.cpan.org/~vlado/Text-Ngrams-2.001/
Flexible Ngram analysis (for characters, words, and more)
----
Text-Ngrams-2.002
http://search.cpan.org/~vlado/Text-Ngrams-2.002/
Flexible Ngram analysis (for characters, words, and more)
----
Tk-Mirror-0.06
http://search.cpan.org/~knorr/Tk-Mirror-0.06/
Perl extension for a graphic user interface to up- or download local and remote directories
----
WWW-Contact-0.04
http://search.cpan.org/~fayland/WWW-Contact-0.04/
Get contacts/addressbook from Web
----
XML-Atom-0.29
http://search.cpan.org/~miyagawa/XML-Atom-0.29/
Atom feed and API implementation
----
lib-0.61
http://search.cpan.org/~smueller/lib-0.61/
manipulate @INC at compile time
----
maybe-0.02
http://search.cpan.org/~dexter/maybe-0.02/
Use a Perl module and ignore error if can't be loaded
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/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
------------------------------
Date: Sat, 25 Oct 2008 14:49:37 +0200
From: Larry <dontmewithme@got.it>
Subject: perl module to write on a var
Message-Id: <dontmewithme-60AD4F.14493725102008@news.tin.it>
Hi,
I've been using a perl module that writes binary data on a file...now
I would like to save this binary data on a var insted of on a file...the
following si the code:
my $_mp3 = MP3::Tag->new($file);
my $_id3v2 = $_mp3->new_tag("ID3v2");
$_id3v2->add_frame($key, $value);
$_id3v2->write_tag();
I'd rather save the data on a var kept in memory (I must not save the
data on a file!)
so is there anyway to have my $_mp3 = MP3::Tag->new($file); point to a
var?
thanks
------------------------------
Date: Sat, 25 Oct 2008 22:45:05 -0700 (PDT)
From: zhaowu@gmail.com
Subject: Re: perl module to write on a var
Message-Id: <49ccd99b-d1c9-4285-bd29-f56ce003500b@w1g2000prk.googlegroups.com>
On Oct 25, 5:49 am, Larry <dontmewit...@got.it> wrote:
> Hi,
>
> I've been using a perl module that writes binary data on a file...now
> I would like to save this binary data on a var insted of on a file...the
> following si the code:
>
> my $_mp3 = MP3::Tag->new($file);
>
> my $_id3v2 = $_mp3->new_tag("ID3v2");
> $_id3v2->add_frame($key, $value);
> $_id3v2->write_tag();
>
> I'd rather save the data on a var kept in memory (I must not save the
> data on a file!)
>
> so is there anyway to have my $_mp3 = MP3::Tag->new($file); point to a
> var?
>
> thanks
Unfortunately you don't have much control with MP3 module, so you'd
have to write the file first and then read it into a variable.
------------------------------
Date: Sat, 25 Oct 2008 10:08:22 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: Question on the length of a Scalar
Message-Id: <slrngg5kvm.rj6.hjp-usenet2@hrunkner.hjp.at>
On 2008-10-22 21:31, xhoster@gmail.com <xhoster@gmail.com> wrote:
> sln@netherlands.com wrote:
>> I just have a simple question.
>>
>> When I call the length function on a scalar, is it read directly
>> (ie: already know its length), or does it traverse the string
>> counting its characters until it hits a nul terminator?
>
> The first one.
That depends on the string. If it is a byte string, you are right. If it
is a scalar string, the string must be traversed to count the
characters. However, the result seems to be cached - it makes almost no
difference whether I call length on a (long) string once or 1000 times
(tested with perl 5.8.8 and 5.10.0).
hp
------------------------------
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 1945
***************************************