[30913] in Perl-Users-Digest
Perl-Users Digest, Issue: 2158 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jan 26 03:09:41 2009
Date: Mon, 26 Jan 2009 00:09:05 -0800 (PST)
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, 26 Jan 2009 Volume: 11 Number: 2158
Today's topics:
Re: inputting the ephemerides <larry@example.invalid>
Re: inputting the ephemerides <larry@example.invalid>
Re: inputting the ephemerides <larry@example.invalid>
Re: inputting the ephemerides <tim@burlyhost.com>
Re: inputting the ephemerides <larry@example.invalid>
Re: inputting the ephemerides <tim@burlyhost.com>
new CPAN modules on Mon Jan 26 2009 (Randal Schwartz)
Re: Peer Review for Folder Delete Script <larry@example.invalid>
Re: Peer Review for Folder Delete Script <tim@burlyhost.com>
Re: Peer Review for Folder Delete Script <XXjbhuntxx@white-star.com>
Re: syntax color lang source code in blogs or website <cliff@excite.com>
Re: syntax color lang source code in blogs or website <tim@burlyhost.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 25 Jan 2009 17:02:45 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: inputting the ephemerides
Message-Id: <od5twtt3x7em$.h6ion8530kl0$.dlg@40tude.net>
On Sun, 25 Jan 2009 19:36:26 +0100, Peter J. Holzer wrote:
> On 2009-01-25 00:37, Larry Gates <larry@example.invalid> wrote:
>> q1) How do I loop over @s and print them out with a delimiter to see if I
>> have what I think I have? One response is, "how many times do we have to
>> tell you this?" I think the answer is at least 3; I can't figure it out
>> and have tried serially.
>
> If you think we have told you already why don't you reread previous
> messages and see what you find? And if you did so and found nothing (or
> found something you don't understand), why don't you say so?
>
> hp
As an example, peter, this works, and shows that my data is being split on
the right fields:
while (my $line = <$gh>) {
my @s = split / /, $line;
{ local $" = ':';
print "@s\n";
}
print STDOUT @s;
}
# sample output:
Venus:::22h:51m:18s:::-7::46.9':::0.691:::10.142:::72.919:::Up
Venus22h51m18s-746.9'0.69110.14272.919Up
Pluto:::18h:6m:40s:::-17::44.9':::32.485:::-52.833:::108.052:::Set
Pluto18h6m40s-1744.9'32.485-52.833108.052Set
So now I want to take the second element of s and hit it with
s2 = s/h/ /;
, but I can't figure out how to deal with these perl arrays like I'm
accustomed to with C or fortran. I make progress, but I never seem to
mature with how perl control structures interact with arrays.
As a work-around, I made explicit variables in the split:
my $filename = 'eph6.txt';
my $filename2 = 'outfile1.txt';
open(my $fh, '<', $filename) or die "cannot open $filename: $!";
open(my $gh, $filename2) or die "cannot open $filename2: $!";
while (my $line = <$fh>) {
$line =~ s/\t/ /g;
$line =~ s/ER/ /g;
$line =~ s/°/ /g;
print $gh $line;
print STDOUT $line;
}
close($fh);
seek($gh,0,0);
while (my $line = <$gh>) {
my ($s1,$s2,$s3,$s4,$s5,$s6,
$s7,$s8,$s9,$s10) = split / /, $line;
print "s2 is $s2\n";
}
close($gh);
# perl reg7.pl
Now I get nothing:
C:\MinGW\source>perl reg7.pl
Sun 19h 43m 51s -21 17.8' 0.984 -35.020 87.148 Set
Mercury 20h 36m 41s -16 59.3' 0.747 -22.075 84.236 Set
Venus 22h 51m 18s -7 46.9' 0.691 10.142 72.919 Up
Moon 10h 24m 21s +7 29.5' 58.6 -4.992 -102.785 Set
Mars 18h 58m 51s -23 33.8' 2.398 -45.280 90.860 Set
Jupiter 20h 17m 22s -20 8.1' 6.082 -27.618 83.843 Set
Saturn 11h 32m 29s +5 16.0' 8.806 -19.672 -111.729 Set
Uranus 23h 23m 12s -4 46.5' 20.638 18.211 70.235 Up
Neptune 21h 41m 17s -14 13.9' 30.892 -7.527 77.864 Set
Pluto 18h 6m 40s -17 44.9' 32.485 -52.833 108.052 Sets2 is
s2 is
s2 is
s2 is
s2 is
s2 is
s2 is
s2 is
s2 is
s2 is
C:\MinGW\source>
??:-(
--
larry gates
They can always run stderr through uniq. :-)
-- Larry Wall in <199704012331.PAA16535@wall.org>
------------------------------
Date: Sun, 25 Jan 2009 17:16:00 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: inputting the ephemerides
Message-Id: <172vvaolx2ozh.1k5m7itexf8di$.dlg@40tude.net>
On Sat, 24 Jan 2009 21:19:46 -0600, Tad J McClellan wrote:
> Larry Gates <larry@example.invalid> wrote:
>
>> With regexes, there so
>> much to know that you can hardly gauge how much you don't know of it. I've
>> read for at least an hour a day in the camel book and spent several hours a
>> day on my machine, and all I can do is just a little bit more than I could
>> the last time I hit it.
>
>
> If you are willing to trade money for (saved) time, buy:
>
> "Mastering Regular Expressions"
>
> http://regex.info
I read this in a footnote while my pastor was giving the sermon today.
From her perspective, she can't know whether I'm reading the camel book or
the bible.
Bottom of page 35, the asterisk reads "A good source of information on
regular expressions is Jeffrey Friedl's book, _Mastering Regular
Expressions_ (O'Reilly and Associates).
What version would I want and how much should I expect to pay for a used
one? I bought a Harbison and Steele from someone off the net, and the
s.o.b. sends me a 1985 version, older than K&R 1. I was so disgusted that
I quit C for a year.
--
larry gates
It might do what you mean. Personally, I would never mean that if I
could help it. :-)
-- Larry Wall in <20050421225012.GA12790@wall.org>
------------------------------
Date: Sun, 25 Jan 2009 17:20:44 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: inputting the ephemerides
Message-Id: <10tnrjvag49mv.12664lz4ftctn.dlg@40tude.net>
On Sun, 25 Jan 2009 01:25:36 GMT, sln@netherlands.com wrote:
> You are truly an attention troll.
>
> sln
Please fuck your dutch self.
[comp.lang.perl.misc]
!delete From {sln}
--
larry gates
I wouldn't ever write the full sentence myself, but then, I never use
goto either.
-- Larry Wall in <199709032332.QAA21669@wall.org>
------------------------------
Date: Sun, 25 Jan 2009 16:56:16 -0800
From: Tim Greer <tim@burlyhost.com>
Subject: Re: inputting the ephemerides
Message-Id: <QS7fl.18260$ci.17379@newsfe02.iad>
Larry Gates wrote:
> On Sat, 24 Jan 2009 21:19:46 -0600, Tad J McClellan wrote:
>
>> Larry Gates <larry@example.invalid> wrote:
>>
>>> With regexes, there so
>>> much to know that you can hardly gauge how much you don't know of
>>> it. I've read for at least an hour a day in the camel book and
>>> spent several hours a day on my machine, and all I can do is just a
>>> little bit more than I could the last time I hit it.
>>
>>
>> If you are willing to trade money for (saved) time, buy:
>>
>> "Mastering Regular Expressions"
>>
>> http://regex.info
>
> I read this in a footnote while my pastor was giving the sermon today.
> From her perspective, she can't know whether I'm reading the camel
> book or the bible.
>
> Bottom of page 35, the asterisk reads "A good source of information on
> regular expressions is Jeffrey Friedl's book, _Mastering Regular
> Expressions_ (O'Reilly and Associates).
>
> What version would I want and how much should I expect to pay for a
> used
> one? I bought a Harbison and Steele from someone off the net, and the
> s.o.b. sends me a 1985 version, older than K&R 1. I was so disgusted
> that I quit C for a year.
Amazon and B&N both have used books or sale (and I'm sure other sites,
too). Just compare that to the current edition out and see what one's
you can grab, if you want a used one.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
------------------------------
Date: Sun, 25 Jan 2009 20:04:24 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: inputting the ephemerides
Message-Id: <1rdbbp7gf5bbq.1ncj5paif7kz6.dlg@40tude.net>
On Sun, 25 Jan 2009 16:56:16 -0800, Tim Greer wrote:
> Larry Gates wrote:
>
>> On Sat, 24 Jan 2009 21:19:46 -0600, Tad J McClellan wrote:
>>> If you are willing to trade money for (saved) time, buy:
>>>
>>> "Mastering Regular Expressions"
>>>
>>> http://regex.info
>>
>> I read this in a footnote while my pastor was giving the sermon today.
>> From her perspective, she can't know whether I'm reading the camel
>> book or the bible.
>>
>> Bottom of page 35, the asterisk reads "A good source of information on
>> regular expressions is Jeffrey Friedl's book, _Mastering Regular
>> Expressions_ (O'Reilly and Associates).
>>
>> What version would I want and how much should I expect to pay for a
>> used
>> one? I bought a Harbison and Steele from someone off the net, and the
>> s.o.b. sends me a 1985 version, older than K&R 1. I was so disgusted
>> that I quit C for a year.
>
> Amazon and B&N both have used books or sale (and I'm sure other sites,
> too). Just compare that to the current edition out and see what one's
> you can grab, if you want a used one.
What's New
New in the Third Edition are a new chapter on PHP (and upgraded PHP
coverage throughout the core chapters), and a completely rewritten Java
chapter to reflect changes from Java 1.4.0 to Java 1.5/1.6. Otherwise,
there are only minor updates and typo fixes. (For example, if your interest
is Perl or .NET, there's little new in the Third Edition that's not in the
Second Edition.)
Amazon sells the new one for 29.69 while used ones begin at $25.-. Unless
someone has edition 2 for twenty bucks, I think this is a buy.
--
larry gates
pos += screamnext[pos] /* does this goof up anywhere? */
-- Larry Wall in util.c from the perl source code
------------------------------
Date: Sun, 25 Jan 2009 20:27:01 -0800
From: Tim Greer <tim@burlyhost.com>
Subject: Re: inputting the ephemerides
Message-Id: <rYafl.154426$H12.81751@newsfe12.iad>
Larry Gates wrote:
> On Sun, 25 Jan 2009 16:56:16 -0800, Tim Greer wrote:
>
>> Larry Gates wrote:
>>
>>> On Sat, 24 Jan 2009 21:19:46 -0600, Tad J McClellan wrote:
>
>>>> If you are willing to trade money for (saved) time, buy:
>>>>
>>>> "Mastering Regular Expressions"
>>>>
>>>> http://regex.info
>>>
>>> I read this in a footnote while my pastor was giving the sermon
>>> today. From her perspective, she can't know whether I'm reading the
>>> camel book or the bible.
>>>
>>> Bottom of page 35, the asterisk reads "A good source of information
>>> on regular expressions is Jeffrey Friedl's book, _Mastering Regular
>>> Expressions_ (O'Reilly and Associates).
>>>
>>> What version would I want and how much should I expect to pay for a
>>> used
>>> one? I bought a Harbison and Steele from someone off the net, and
>>> the
>>> s.o.b. sends me a 1985 version, older than K&R 1. I was so
>>> disgusted that I quit C for a year.
>>
>> Amazon and B&N both have used books or sale (and I'm sure other
>> sites,
>> too). Just compare that to the current edition out and see what
>> one's you can grab, if you want a used one.
>
> What's New
> New in the Third Edition are a new chapter on PHP (and upgraded PHP
> coverage throughout the core chapters), and a completely rewritten
> Java chapter to reflect changes from Java 1.4.0 to Java 1.5/1.6.
> Otherwise, there are only minor updates and typo fixes. (For example,
> if your interest is Perl or .NET, there's little new in the Third
> Edition that's not in the Second Edition.)
Right, the newest might not be relevant to your needs. I wouldn't know
the differences in them, my copy is very old and I really never needed
to reference it (regex's come naturally to me -- unless I make a stupid
typo in response to a usenet post from not paying attention).
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
------------------------------
Date: Mon, 26 Jan 2009 05:42:23 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Mon Jan 26 2009
Message-Id: <KE2D6n.8rx@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.
Apache2-ASP-2.13
http://search.cpan.org/~johnd/Apache2-ASP-2.13/
ASP for Perl, reloaded.
----
Apache2-ASP-2.14
http://search.cpan.org/~johnd/Apache2-ASP-2.14/
ASP for Perl, reloaded.
----
BioPerl-1.6.0
http://search.cpan.org/~cjfields/BioPerl-1.6.0/
Loader for LiveSeq from EMBL entries with BioPerl
----
Business-ISBN-2.05
http://search.cpan.org/~bdfoy/Business-ISBN-2.05/
work with International Standard Book Numbers
----
Business-OnlinePayment-Jettis-0.02
http://search.cpan.org/~ivan/Business-OnlinePayment-Jettis-0.02/
Jettis backend for Business::OnlinePayment
----
CPAN-Testers-WWW-Statistics-0.56
http://search.cpan.org/~barbie/CPAN-Testers-WWW-Statistics-0.56/
CPAN Testers Statistics website.
----
CPAN-Testers-WWW-Statistics-0.57
http://search.cpan.org/~barbie/CPAN-Testers-WWW-Statistics-0.57/
CPAN Testers Statistics website.
----
Catalyst-Plugin-Mail-Sender-0.01
http://search.cpan.org/~tbr/Catalyst-Plugin-Mail-Sender-0.01/
Send emails with Catalyst
----
Catalyst-Plugin-Mail-Sender-0.1
http://search.cpan.org/~tbr/Catalyst-Plugin-Mail-Sender-0.1/
Send emails with Catalyst
----
Config-Model-Backend-Augeas-0.103
http://search.cpan.org/~ddumont/Config-Model-Backend-Augeas-0.103/
Read and write config data through Augeas
----
Email-MIME-Kit-2.000
http://search.cpan.org/~rjbs/Email-MIME-Kit-2.000/
build messages from templates
----
File-Cache-Persistent-0.3
http://search.cpan.org/~andy/File-Cache-Persistent-0.3/
Caches file content and allows to use it even after file is deleted
----
File-Stat-Moose-0.0501
http://search.cpan.org/~dexter/File-Stat-Moose-0.0501/
Status info for a file - Moose-based
----
Finance-Bank-IE-PermanentTSB-0.04
http://search.cpan.org/~pallotron/Finance-Bank-IE-PermanentTSB-0.04/
Perl Interface to the PermanentTSB Open24 homebanking on <http://www.open24.ie>
----
FormValidator-Simple-Plugin-Math-0.03
http://search.cpan.org/~hedwig/FormValidator-Simple-Plugin-Math-0.03/
Math evaluation for FormValidator::Simple
----
GSM-ARFCN-0.04
http://search.cpan.org/~mrdvt/GSM-ARFCN-0.04/
Absolute Radio Frequency Channel Number (ARFCN) Converter
----
HTML-FormHandler-0.08
http://search.cpan.org/~gshank/HTML-FormHandler-0.08/
form handler written in Moose
----
IO-Async-Loop-Epoll-0.01
http://search.cpan.org/~pevans/IO-Async-Loop-Epoll-0.01/
a Loop using an IO::Epoll object
----
Math-RandomOrg-0.05_02
http://search.cpan.org/~gwilliams/Math-RandomOrg-0.05_02/
Retrieve random numbers and data from random.org.
----
Module-Install-0.78
http://search.cpan.org/~adamk/Module-Install-0.78/
Standalone, extensible Perl module installer
----
MojoX-Session-0.06
http://search.cpan.org/~vti/MojoX-Session-0.06/
Session management for Mojo
----
Moose-Micro-0.002
http://search.cpan.org/~hdp/Moose-Micro-0.002/
succinctly specify Moose attributes
----
MooseX-Role-XMLRPC-Client-0.01
http://search.cpan.org/~rsrchboy/MooseX-Role-XMLRPC-Client-0.01/
provide the needed bits to be a XML-RPC client
----
Muldis-Rosetta-0.13.1
http://search.cpan.org/~duncand/Muldis-Rosetta-0.13.1/
Full-featured truly relational DBMS in Perl
----
Net-FSP-0.16
http://search.cpan.org/~leont/Net-FSP-0.16/
A client implementation of the File Service Protocol
----
Net-IMAP-Client-0.9
http://search.cpan.org/~mishoo/Net-IMAP-Client-0.9/
Not so simple IMAP client library
----
Net-OpenSSH-0.23
http://search.cpan.org/~salva/Net-OpenSSH-0.23/
Perl SSH client package implemented on top of OpenSSH
----
PAR-0.984
http://search.cpan.org/~smueller/PAR-0.984/
Perl Archive Toolkit
----
PAR-Repository-Client-0.22_01
http://search.cpan.org/~smueller/PAR-Repository-Client-0.22_01/
Access PAR repositories
----
POE-Component-IRC-Plugin-Trac-RSS-0.11
http://search.cpan.org/~tbr/POE-Component-IRC-Plugin-Trac-RSS-0.11/
A POE::Component::IRC plugin that provides RSS headline retrieval.
----
Parallel-Depend-3.06
http://search.cpan.org/~lembark/Parallel-Depend-3.06/
----
RMI-0.01
http://search.cpan.org/~sakoht/RMI-0.01/
Remote Method Invocation with transparent proxies
----
SMS-Send-UK-Kapow-0.02
http://search.cpan.org/~jjones/SMS-Send-UK-Kapow-0.02/
SMS::Send driver for the Kapow.co.uk website
----
Syntax-Highlight-Perl6-0.035
http://search.cpan.org/~azawawi/Syntax-Highlight-Perl6-0.035/
Perl 6 Syntax Highlighter
----
Sys-Mmap-Simple-0.08
http://search.cpan.org/~leont/Sys-Mmap-Simple-0.08/
Memory mapping made simple and safe.
----
Sys-Sendfile-0.04
http://search.cpan.org/~leont/Sys-Sendfile-0.04/
Zero-copy data transfer
----
Task-POE-IRC-1.12
http://search.cpan.org/~bingos/Task-POE-IRC-1.12/
Task to install all POE related IRC modules.
----
Tell-0.0.5
http://search.cpan.org/~roscio/Tell-0.0.5/
Print messages with balance, indentation, severity, and autoclosure.
----
Test-CallFlow-0.03
http://search.cpan.org/~korpiq/Test-CallFlow-0.03/
trivial planning of sub call flows for fast unit test writing.
----
Test-More-UTF8-0.02
http://search.cpan.org/~mons/Test-More-UTF8-0.02/
Enhancing Test::More for UTF8-based projects
----
Test-Strict-0.12
http://search.cpan.org/~pdenis/Test-Strict-0.12/
Check syntax, presence of use strict; and test coverage
----
UMLS-Similarity-0.09
http://search.cpan.org/~btmcinnes/UMLS-Similarity-0.09/
This is a suite of Perl modules that implements a number of measures of semantic relatedness. These algorithms use the UMLS-Interface module to access the Unified Medical Language System (UMLS) to gen
----
WWW-Freshmeat-0.02
http://search.cpan.org/~chorny/WWW-Freshmeat-0.02/
automates searches on Freshmeat.net
----
WWW-Page-2.2
http://search.cpan.org/~andy/WWW-Page-2.2/
XSLT-based and XML-configured website engine
----
WWW-Shorten-Bitly-0.77
http://search.cpan.org/~pjain/WWW-Shorten-Bitly-0.77/
Interface to shortening URLs using "/bit.ly" in http::
----
WWW-Shorten-Bitly-0.78
http://search.cpan.org/~pjain/WWW-Shorten-Bitly-0.78/
Interface to shortening URLs using "/bit.ly" in http::
----
XML-Amazon-0.04
http://search.cpan.org/~hedwig/XML-Amazon-0.04/
Perl extension for getting information from Amazon
----
XML-Amazon-0.05
http://search.cpan.org/~hedwig/XML-Amazon-0.05/
Perl extension for getting information from Amazon
----
XSLT-Cache-0.3
http://search.cpan.org/~andy/XSLT-Cache-0.3/
Transparent preparsing and caching XSLT documents
----
persona-0.03
http://search.cpan.org/~elizabeth/persona-0.03/
control which code will be loaded for an execution context
----
persona-0.04
http://search.cpan.org/~elizabeth/persona-0.04/
control which code will be loaded for an execution context
----
persona-0.05
http://search.cpan.org/~elizabeth/persona-0.05/
control which code will be loaded for an execution context
----
persona-0.06
http://search.cpan.org/~elizabeth/persona-0.06/
control which code will be loaded for an execution context
----
self-0.31
http://search.cpan.org/~gugod/self-0.31/
provides '$self' in OO code.
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, 25 Jan 2009 16:29:52 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: Peer Review for Folder Delete Script
Message-Id: <7ykdhc581bei.qsuiikl0fmu8$.dlg@40tude.net>
On Sun, 25 Jan 2009 01:54:34 GMT, Cosmic Cruizer wrote:
>> Please post a cleaned up version. I only looked at it cursorily as
>> the comments were worse than distracting. Which directory is deleted?
>
> Larry,
>
> Just in case you are still interested, here is the code without all the
> comments. As Uri recommended, I tried File::Slurp. Since I do not have
> the library on my local computer, I'm not sure if it is on the production
> system, therefore, I did not implement that change.
>
> This is pretty much what I will be trying next week. The bi-weekly full
> backup was on Friday to a VTL, so if something does happen, it will be
> relatively easy to have data restored.
>
> use strict;
> use File::Find;
> # use warnings;
>
> my $base_dir='E:\05-09-07\Cal Poly';
CC,
I'd be interested in what you have after you make changes. I'm chipping
away at my own perl projects, so I've got plenty on my plate, but I'd like
to run and keep the final product. You've got some serious criticisms, ie,
seriously good suggestions, to deal with yet.
The directory erased is E:\05-09-07\Cal Poly , right?
--
larry gates
Chip Salzenberg sent me a complete patch to add System V IPC (msg, sem and
shm calls), so I added them. If that bothers you, you can always undefine
them in config.sh. :-) -- Larry Wall in <9384@jpl-devvax.JPL.NASA.GOV>
------------------------------
Date: Sun, 25 Jan 2009 15:32:41 -0800
From: Tim Greer <tim@burlyhost.com>
Subject: Re: Peer Review for Folder Delete Script
Message-Id: <tE6fl.17753$B_1.14113@newsfe01.iad>
Larry Gates wrote:
>
> The directory erased is E:\05-09-07\Cal Poly , right?
His code shows he opens that directory (mentioned above) and then checks
(and deletes) directories _within_ it that are over X days old.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
------------------------------
Date: Mon, 26 Jan 2009 00:36:41 GMT
From: Cosmic Cruizer <XXjbhuntxx@white-star.com>
Subject: Re: Peer Review for Folder Delete Script
Message-Id: <Xns9B9EA8BC7E430ccruizermydejacom@207.115.33.102>
Larry Gates <larry@example.invalid> wrote in
news:7ykdhc581bei.qsuiikl0fmu8$.dlg@40tude.net:
> On Sun, 25 Jan 2009 01:54:34 GMT, Cosmic Cruizer wrote:
>
> CC,
>
> I'd be interested in what you have after you make changes. I'm
> chipping away at my own perl projects, so I've got plenty on my plate,
> but I'd like to run and keep the final product. You've got some
> serious criticisms, ie, seriously good suggestions, to deal with yet.
>
> The directory erased is E:\05-09-07\Cal Poly , right?
Larry, Tim is correct...
I used my E: drive for testing. For the most part, it is my first stage
backup device. The directory "05-09-07" is a folder of data. In that folder
are a lot of other folders, including one named "Cal Poly". The "Cal Poly"
folder used to have one heck of a lot of other nested folders and files.
(Notice the phrase, "used to have.") The Cal Poly folder still exists with
only a few files, but no folders.
You are right about the "serious criticisms" being "seriously good
suggestions." I've been poping in and out of here for about 10 years and
found that the majority of contributors are fantastic! I don't always do
100% of what's recommended (even if I agree with it), but too many of the
suggestions are just too good to ignore.
...Cos
------------------------------
Date: Sun, 25 Jan 2009 17:56:42 -0500
From: Cliff MacGillivray <cliff@excite.com>
Subject: Re: syntax color lang source code in blogs or website
Message-Id: <a6409$497cee2c$d0365e22$29707@news.eurofeeds.com>
Xah Lee wrote:
> For those of you using emacs, here's the elisp code that allows you to
> syntax color computer language source code in your blog or website.
>
> http://xahlee.org/emacs/elisp_htmlize.html
>
> to comment, here:
> http://xahlee.blogspot.com/2009/01/dehtmlize-source-code-in-emacs-lisp.html
Xah,
Very nice!
If nothing else you seem to be a pretty clever programmer.
Indeed, you seem to understand more theoretical aspects than
most simple minded software developers.
I am not sure why you live out of your car?
Has that situation changed at all? Are you working right now?
------------------------------
Date: Sun, 25 Jan 2009 15:19:21 -0800
From: Tim Greer <tim@burlyhost.com>
Subject: Re: syntax color lang source code in blogs or website
Message-Id: <Zr6fl.15261$2o3.12213@newsfe10.iad>
Cliff MacGillivray wrote:
> Xah Lee wrote:
>> For those of you using emacs, here's the elisp code that allows you
>> to syntax color computer language source code in your blog or
>> website.
>>
>> http:/........
>>
>> to comment, here:
>> http://.......
> Xah,
> Very nice!
> If nothing else you seem to be a pretty clever programmer.
> Indeed, you seem to understand more theoretical aspects than
> most simple minded software developers.
> I am not sure why you live out of your car?
> Has that situation changed at all? Are you working right now?
Please don't encourage this guy. He posts to groups purely to try and
tell everyone how smart he thinks he is (regardless of how wrong he
usually is), and argues and uses vulgar language to anyone that asks
him to stop posting in non relevent news groups. He seems to have
selected the Python and Perl groups to regularly post to, even when his
posts rarely to never have any relation to said groups. Please, do not
encourage his behavior. Thanks.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
------------------------------
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 2158
***************************************