[29394] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 638 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jul 10 06:09:59 2007

Date: Tue, 10 Jul 2007 03: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           Tue, 10 Jul 2007     Volume: 11 Number: 638

Today's topics:
        Announcement: Text::Statistics::Latin 0.04 <fernandes@cpan.org>
        backing up perl <invalid@invalid.net>
    Re: backing up perl <sisyphus1@nomail.afraid.org>
    Re: backing up perl <invalid@invalid.net>
    Re: backing up perl <sisyphus1@nomail.afraid.org>
    Re: backing up perl <invalid@invalid.net>
    Re: carp "$!" vs carp "$!\n" <spamtrap@dot-app.org>
    Re: google search <josef.moellers@fujitsu-siemens.com>
    Re: google search <joe@inwap.com>
    Re: Great new developer community concept <tadmc@seesig.invalid>
        new CPAN modules on Tue Jul 10 2007 (Randal Schwartz)
    Re: Outlook Express messages (was: Re: re-lurking) <savagebeaste@yahoo.com>
    Re: Portable general timestamp format, not 2038-limited <greg@cosc.canterbury.ac.nz>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Mon, 9 Jul 2007 19:54:19 GMT
From: Rodrigo Panchiniak Fernandes <fernandes@cpan.org>
Subject: Announcement: Text::Statistics::Latin 0.04
Message-Id: <JKy1Cp.1Ls1@zorch.sf-bay.org>

Text::Statistics::Latin 0.04 has been released.

Description:


Text::Statistics::Latin creates a seven column CSV file output with
one line each
token per text, given as input an utf8-latin coded corpus that files
names follows:
    1 (1). txt', '1 (2). txt', ..., '1 (n).txt'  or the pattern
    1 \(([1-9]|[1-9][0-9]+)\)\.txt
Columns stores statistical information:
(1) number of word forms in document d;
(2) number of tokens in d;
(3) Id number of d, ie., n;
(4) frequency of term t in d;
(5) corpus frequency of t ;
(6) document frequency of t (number of documents where t occurs at
least once);
(7) t, UTF8 latin coded token-string

Main output file name is '1 (n + 5).txt' and it is stored in the same
directory as the corpus itself, together with residual files on each
input file with .txu and .txv ad hoc extensions.

Example:
    use Text::Statistics::Latin;
    &LATIN("4"); #3 (4-1) texts will be analised.

Note:

(1) 1 \(([1-9]|[1-9][0-9]+)\)\.txt is the pattern Windows Explorer
uses when renaming sets of files.
(2) This module can be used for testing information retrieval
weighting functions or text indexing.

Research supported by CAPES BEX-09323-5




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

Date: Mon, 9 Jul 2007 20:23:57 -0400
From: "merl the perl" <invalid@invalid.net>
Subject: backing up perl
Message-Id: <wo-dndmOSvEDTA_bnZ2dnUVZ_qKqnZ2d@comcast.com>

I'm faced with the assumption that I will need to replace my work in perl 
entirely.  I face this assumption sufficiently often, that the virtue of 
laziness motivates this question.

The big trick for the perlers on windows is to
1) have activestate.

I'm certain I have the install prog for this somewhere on disk already but 
don't have any good guesses as to how to search for it.  Are there any 
activestate users out there who can help my failing memory?

Cordially,
merl the perl 




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

Date: Tue, 10 Jul 2007 12:28:34 +1000
From: "Sisyphus" <sisyphus1@nomail.afraid.org>
Subject: Re: backing up perl
Message-Id: <4692ee9f$0$18984$afc38c87@news.optusnet.com.au>


"merl the perl" <invalid@invalid.net> wrote in message news:wo-
 .
 .
> The big trick for the perlers on windows is to
> 1) have activestate.
>
> I'm certain I have the install prog for this somewhere on disk already but 
> don't have any good guesses as to how to search for it.  Are there any 
> activestate users out there who can help my failing memory?
>

Maybe a Windows Search would find it ? (Sorry - I, too, forget where you 
placed it :-)

Worst case is simply to go to 
http://activestate.com/Products/Download/Download.plex?id=ActivePerl , click 
the "continue" button, and then download it again. It's only 16 Megs.

Cheers,
Rob 



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

Date: Tue, 10 Jul 2007 02:56:03 -0400
From: "merl the perl" <invalid@invalid.net>
Subject: Re: backing up perl
Message-Id: <U6udnSJxN6oYsA7bnZ2dnUVZ_sytnZ2d@comcast.com>


"Sisyphus" <sisyphus1@nomail.afraid.org> wrote in message 
news:4692ee9f$0$18984$afc38c87@news.optusnet.com.au...
>
> "merl the perl" <invalid@invalid.net> wrote in message news:wo-
> .
> .
>> The big trick for the perlers on windows is to
>> 1) have activestate.
>>
>> I'm certain I have the install prog for this somewhere on disk already 
>> but don't have any good guesses as to how to search for it.  Are there 
>> any activestate users out there who can help my failing memory?
>>
>
> Maybe a Windows Search would find it ? (Sorry - I, too, forget where you 
> placed it :-)
>
> Worst case is simply to go to 
> http://activestate.com/Products/Download/Download.plex?id=ActivePerl , 
> click the "continue" button, and then download it again. It's only 16 
> Megs.
Thx.  I don't know what I have.  That makes me sound like a ditz, but it's 
more likely a guy who just sang 8 somgs with that beautiful beki.  I'm 
looking for this answer and a few more.  That I am an unashamed windows-user 
has made me unpopular in certain circles, small ones, with baggage.

Can someone who's been around the block a couple times more times than I 
comment on his/her experience with activestate.  I look at that link and 
don't know what I got before, or, more importantly, what I should get, given 
that I run XP on a 64 bit AMD Athlon chip.(?)
-- 
merl the perl




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

Date: Tue, 10 Jul 2007 17:28:12 +1000
From: "Sisyphus" <sisyphus1@nomail.afraid.org>
Subject: Re: backing up perl
Message-Id: <469334de$0$18464$afc38c87@news.optusnet.com.au>


"merl the perl" <invalid@invalid.net> wrote in message 
news:U6udnSJxN6oYsA7bnZ2dnUVZ_sytnZ2d@comcast.com...
 .
 .
>>
>> Worst case is simply to go to 
>> http://activestate.com/Products/Download/Download.plex?id=ActivePerl , 
>> click the "continue" button, and then download it again. It's only 16 
>> Megs.
 .
 .
>
> Can someone who's been around the block a couple times more times than I 
> comment on his/her experience with activestate.  I look at that link and 
> don't know what I got before, or, more importantly, what I should get, 
> given that I run XP on a 64 bit AMD Athlon chip.(?)

If you're running XP64 you can install either the "Windows (x86)" package 
(which is a 32-bit build of perl) or the "Windows 64-bit (x64 AMD64)" 
package.
If you're running XP32 then you'll have to settle for the "Windows (x86)" 
package.
I have both the 32-bit and 64-bit builds on my AMD64 - running Vista64. 
(Both work well.)

The only choice then is whether you want the MSI package or the AS package. 
(They provide the same build of perl - just a different means of installing. 
And I think the MSI package might provide an "uninstall" capability, which 
you don't get with AS package - not that it matters, imo.)
The MSI package is installable by simply double clicking the downloaded 
package - assuming you have a sufficiently recent version of the MSI 
installer.
To install the AS package, unpack it to some temporary location, and run the 
"Installer.bat" (or is it named "install.bat" ... can't remember) that's 
found in the top level folder. Once perl has been installed, you can then 
delete what was unpacked into that "temporary location".

I prefer the AS package ... no longer sure why that is ... but it's always 
worked well for me, so I see no need to change.

Cheers,
Rob 



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

Date: Tue, 10 Jul 2007 04:01:13 -0400
From: "merl the perl" <invalid@invalid.net>
Subject: Re: backing up perl
Message-Id: <S5ydnWc2D_RWoQ7bnZ2dnUVZ_umlnZ2d@comcast.com>


"Sisyphus" <sisyphus1@nomail.afraid.org> wrote in message 
news:469334de$0$18464$afc38c87@news.optusnet.com.au...

> I prefer the AS package ... no longer sure why that is ... but it's always 
> worked well for me, so I see no need to change.
Alright, that sounds good.  It comes as a zip file, but might have enough 
lexical clues for me to figure out what I have.  Thx.
--
mp 




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

Date: Mon, 09 Jul 2007 20:11:00 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: carp "$!" vs carp "$!\n"
Message-Id: <m2644tqfsb.fsf@dot-app.org>

anonb6e9@nyx3.nyx.net (Name withheld by request) writes:

> What am I missing here?:
>
>    /tmp $ perl -le 'use Carp;unlink "makesureImNotaFile";carp "$!";print "hi"'
>    No such file or directory at -e line 1
>    hi
>    /tmp $ perl -le 'use Carp;unlink "makesureImNotaFile";carp "$!\n";print "hi"'
>    No such file or directory
>
> Why doesn't carp show the line number in the 2nd example above?

Because you asked it not to. From "perldoc -f die":

    "If the last element of LIST does not end in a newline, the cur-
     rent script line number and input line number (if any) are also
     printed, and a newline is supplied."

sherm--

-- 
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


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

Date: Tue, 10 Jul 2007 09:14:18 +0200
From: Josef Moellers <josef.moellers@fujitsu-siemens.com>
Subject: Re: google search
Message-Id: <f6vbkf$4j3$1@nntp.fujitsu-siemens.com>

usenet@DavidFilmer.com wrote:
> On Jul 9, 11:16 am, LS <kvjo...@gmail.com> wrote:
>=20
>>Please can anyone tell me how do I could make search script to find my
>>chat.txt   and print by date and time?
>=20
>=20
> Please choose a subject line that is descriptive of your question.
> Your question has nothing to do with Google.

Most likely LS (poor sod, I'd sue my parents ;-) was referring to=20
"Google Desktop Search".

--=20
These are my personal views and not those of Fujitsu Siemens Computers!
Josef M=F6llers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize (T.  Pratchett)
Company Details: http://www.fujitsu-siemens.com/imprint.html



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

Date: Tue, 10 Jul 2007 02:59:48 -0700
From: Joe Smith <joe@inwap.com>
Subject: Re: google search
Message-Id: <kaCdnfzhBIwJxQ7bnZ2dnUVZ_uqvnZ2d@comcast.com>

LS wrote:
> Please can anyone tell me how do I could make search script to find my
> chat.txt   and print by date and time?
> the txt file look like
> 
> date             time          user        comment
> 2007.07.07 |12:00 pm | johan | the txt bla blabla

Read the input file one line at a time.
Convert the am/pm time into 24-hour format.
If the line of text is what you're interested in, push it onto an array,
otherwise ignore it.
At the end of file,
    print sort @lines;           # Oldest first
or
    print reverse sort @lines;   # Latest first.


If that's not the problem you're trying to solve, then you have to
be more explicit.

	-Joe


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

Date: Mon, 9 Jul 2007 21:16:59 -0500
From: Tad McClellan <tadmc@seesig.invalid>
Subject: Re: Great new developer community concept
Message-Id: <slrnf95r0r.1p8.tadmc@tadmc30.sbcglobal.net>

codezilla94@gmail.com <codezilla94@gmail.com> wrote:

> I found this new site I am excited about [snip]

> I would like to hear your thoughts.


I think you are spamming us.


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


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

Date: Tue, 10 Jul 2007 04:42:18 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Tue Jul 10 2007
Message-Id: <JKy52I.1tzu@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.

Catalyst-View-Excel-Template-Plus-0.01
http://search.cpan.org/~stevan/Catalyst-View-Excel-Template-Plus-0.01/
A Catalyst View for Excel::Template::Plus 
----
Catalyst-View-GD-0.01
http://search.cpan.org/~stevan/Catalyst-View-GD-0.01/
A Catalyst View for GD images 
----
Catalyst-View-Template-Declare-0.01
http://search.cpan.org/~jrockway/Catalyst-View-Template-Declare-0.01/
Use Template::Declare with Catalyst 
----
DBD-Mock-1.35
http://search.cpan.org/~stevan/DBD-Mock-1.35/
Mock database driver for testing 
----
File-BSED-0.1
http://search.cpan.org/~asksh/File-BSED-0.1/
Search/Replace in Binary Files. 
----
File-Path-2.00_07
http://search.cpan.org/~dland/File-Path-2.00_07/
Create or remove directory trees 
----
Finance-QuoteOptions-0.12
http://search.cpan.org/~kbocek/Finance-QuoteOptions-0.12/
Perl extension for retrieving options pricing and series information from the web. 
----
Google-Adwords-v1.3.1
http://search.cpan.org/~rohan/Google-Adwords-v1.3.1/
an interface which abstracts the Google Adwords SOAP API 
----
HTML-Widget-Plugin-Struct-0.003
http://search.cpan.org/~rjbs/HTML-Widget-Plugin-Struct-0.003/
dump data structures for CGI::Expand expansion 
----
Mail-GnuPG-0.10
http://search.cpan.org/~jesse/Mail-GnuPG-0.10/
Process email with GPG. 
----
Module-CoreList-2.12
http://search.cpan.org/~rgarcia/Module-CoreList-2.12/
what modules shipped with versions of perl 
----
MooseX-IOC-0.02
http://search.cpan.org/~stevan/MooseX-IOC-0.02/
Moose attributes with IOC integration 
----
MooseX-Method-0.31
http://search.cpan.org/~berle/MooseX-Method-0.31/
Method declaration with type checking 
----
Net-SSH-Expect-0.08
http://search.cpan.org/~bnegrao/Net-SSH-Expect-0.08/
SSH wrapper to execute remote commands 
----
Net-Z3950-ZOOM-1.19
http://search.cpan.org/~mirk/Net-Z3950-ZOOM-1.19/
Perl extension for invoking the ZOOM-C API. 
----
Parse-Apache-ServerStatus-Extended-0.01
http://search.cpan.org/~mizzy/Parse-Apache-ServerStatus-Extended-0.01/
Simple module to parse apache's extended server-status. 
----
Path-Abstract-0.06
http://search.cpan.org/~rkrimen/Path-Abstract-0.06/
A fast and featureful class for UNIX-style path manipulation. 
----
Path-Lite-0.05
http://search.cpan.org/~rkrimen/Path-Lite-0.05/
A lightweight but featureful class for UNIX-style path manipulation. 
----
Path-Lite-0.06
http://search.cpan.org/~rkrimen/Path-Lite-0.06/
A lightweight but featureful class for UNIX-style path manipulation. 
----
Pugs-Compiler-Rule-0.25
http://search.cpan.org/~agent/Pugs-Compiler-Rule-0.25/
Compiler for Perl 6 regexes 
----
RT-Extension-LDAPImport-0.01
http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.01/
Import Users from an LDAP store 
----
RT-Extension-ReassignOwner-0.01
http://search.cpan.org/~falcone/RT-Extension-ReassignOwner-0.01/
[One line description of module's purpose here] 
----
Sys-Statistics-Linux-0.11_01
http://search.cpan.org/~bloonix/Sys-Statistics-Linux-0.11_01/
Front-end module to collect system statistics 
----
Sys-Statistics-Linux-0.11_02
http://search.cpan.org/~bloonix/Sys-Statistics-Linux-0.11_02/
Front-end module to collect system statistics 
----
Text-Report-1.004
http://search.cpan.org/~davidius/Text-Report-1.004/
Perl extension for generating mixed columnar formatted reports and report templates 
----
Text-Statistics-Latin-0.04
http://search.cpan.org/~fernandes/Text-Statistics-Latin-0.04/
Performs statistical corpora analysis 
----
Tree-Parser-0.13
http://search.cpan.org/~stevan/Tree-Parser-0.13/
Module to parse formatted files into tree structures 
----
Tree-Parser-0.14
http://search.cpan.org/~stevan/Tree-Parser-0.14/
Module to parse formatted files into tree structures 
----
Tree-Simple-View-0.16
http://search.cpan.org/~stevan/Tree-Simple-View-0.16/
A set of classes for viewing Tree::Simple hierarchies 
----
WWW-Bugzilla3-0.4
http://search.cpan.org/~swined/WWW-Bugzilla3-0.4/
perl bindings for Bugzilla 3.0 api 
----
Weather-Com-0.5.2
http://search.cpan.org/~schnueck/Weather-Com-0.5.2/
fetching weather information from *weather.com* 
----
WebService-MusicBrainz-0.11
http://search.cpan.org/~bfaist/WebService-MusicBrainz-0.11/
----
Weed-0.0077
http://search.cpan.org/~hooo/Weed-0.0077/
Don't use it. It's in development. For test purposes only! 
----
YAML-Syck-0.94
http://search.cpan.org/~audreyt/YAML-Syck-0.94/
Fast, lightweight YAML loader and dumper 
----
YAML-Tiny-1.13
http://search.cpan.org/~adamk/YAML-Tiny-1.13/
Read/Write YAML files with as little code as possible 
----
ZOOM-IRSpy-1.00
http://search.cpan.org/~mirk/ZOOM-IRSpy-1.00/
Perl extension for discovering and analysing IR services 
----
base-ball-v0.0.3
http://search.cpan.org/~dmuey/base-ball-v0.0.3/
"b" all the namespaces under the given one(s) 
----
base-ball-v0.0.4
http://search.cpan.org/~dmuey/base-ball-v0.0.4/
"b" all the namespaces under the given one(s) 
----
debug-0.04
http://search.cpan.org/~stevan/debug-0.04/
Perl pragma for debugging and logging of debug lines. 
----
forks-0.24
http://search.cpan.org/~rybskej/forks-0.24/
drop-in replacement for Perl threads using fork() 
----
forks-BerkeleyDB-0.051
http://search.cpan.org/~rybskej/forks-BerkeleyDB-0.051/
high-performance drop-in replacement for threads 
----
vshnu-1.0300
http://search.cpan.org/~kinzler/vshnu-1.0300/


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: Mon, 9 Jul 2007 18:22:37 -0700
From: "Clenna Lumina" <savagebeaste@yahoo.com>
Subject: Re: Outlook Express messages (was: Re: re-lurking)
Message-Id: <5fg5b3F3b8bvmU1@mid.individual.net>

Dr.Ruud wrote:
> Wade Ward schreef:
>
>> OE will never let you take a message out of
>> the OE environment.  You have to copy and paste it out
>> in order to get a free-standing file.
>
> That is a string of silly statements.
> You really never tried "File/Save as"?
>
> Further, there are plenty of tools that can convert OE message
> files to plain text. For example some Perl modules:
> http://search.cpan.org/search?m=module&q=dbx

When you "Save As" it IS plain text (just open it in a text editor and 
look.)

-- 
CL 




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

Date: Tue, 10 Jul 2007 21:04:05 +1200
From: greg <greg@cosc.canterbury.ac.nz>
Subject: Re: Portable general timestamp format, not 2038-limited
Message-Id: <5fh0imF3cjte7U1@mid.individual.net>

Ilya Zakharevich wrote:
> In pedantic mode: negative timestamps make sense with Big Bang as the
> epoch as well.  (AFAIU, the current way of thinking is that it was
> "just too hot" before the big bang, it is not that "there was
> nothing".)

If Stephen Hawking is right, the shape of the universe
is such that there isn't any time "before" the big bang
at all. It's like asking what's north of the North Pole.

Of course, this may have been replaced with some other
equally bizarre idea by now...

Another thought: If the cosmologists ever decide if
and when the Big Crunch is going to happen, we may be
able to figure out once and for all how many bits we
need in the timestamp.

--
Greg


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

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 638
**************************************


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