[31179] in Perl-Users-Digest
Perl-Users Digest, Issue: 2424 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon May 18 03:09:45 2009
Date: Mon, 18 May 2009 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 Mon, 18 May 2009 Volume: 11 Number: 2424
Today's topics:
ANNOUNCE: Text::CSV_XS 0.65 <h.m.brand@xs4all.nl>
change file names using Archive::Zip <gcox@freeuk.com>
Re: change file names using Archive::Zip <jurgenex@hotmail.com>
Re: change file names using Archive::Zip <tadmc@seesig.invalid>
Re: change file names using Archive::Zip <frank@example.invalid>
Re: comma operator <nat.k@gm.ml>
Re: FAQ 8.4 How do I print something out in color? <nospam-abuse@ilyaz.org>
new CPAN modules on Mon May 18 2009 (Randal Schwartz)
Re: perl 5 grammar <uri@PerlOnCall.com>
Re: s/(The N)e(urdsburg Affair)/$1$2/ looks dumb <nat.k@gm.ml>
Re: writing get_script as an external routine callable <uri@PerlOnCall.com>
Re: writing get_script as an external routine callable <frank@example.invalid>
Re: writing get_script as an external routine callable <frank@example.invalid>
Re: writing get_script as an external routine callable <uri@PerlOnCall.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 15 May 2009 06:50:30 GMT
From: Tux <h.m.brand@xs4all.nl>
Subject: ANNOUNCE: Text::CSV_XS 0.65
Message-Id: <KJssEt.xyy@zorch.sf-bay.org>
file: $CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-0.65.tgz
size: 99641 bytes
md5: 12f6ae2fde02ae961136e83d0397c033
2009-05-14 0.65 - H.Merijn Brand <h.m.brand@xs4all.nl>
* Initial known errors can now be checked on number (1002)
* More tests for illegal combinations
* Added -u option to examples/csv-check to validate utf-8 encoding
* Correct documentation for error_diag () return value in case of
constructor failure (Slaven, RT#46076)
* All error_diag () returns should now be dual-var (both numeric
and string context valid)
* Remove (3) from L<..> links (Slaven, RT#46078)
2009-04-03 0.64 - H.Merijn Brand <h.m.brand@xs4all.nl>
* Skip perlio tests for perl older than 5.8, as perlio
was experimental in 5.6
* Up Devel::PPPort to 3.17
* Fix initialisation of eol => undef (could cause core dump)
* Added configure_require to META.yml
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
------------------------------
Date: Sun, 17 May 2009 21:20:15 +0100
From: Geoff Cox <gcox@freeuk.com>
Subject: change file names using Archive::Zip
Message-Id: <f9s015hajoc9482e0ahe4bh0qq599pfnq8@4ax.com>
Hello,
'apologies for posting in comp.lang.perl first - it doesn't seem to
have much activity so am posting here...
I have the code below which unzips a series of zip files.
I would like to be able to change the names of the Word files produced
to more systematic names.
Say doc-1.zip produces fred.doc
and
doc-2.zip produces jane.doc
I would like to change
fred.doc to doc-1.doc
and
jane.doc to doc-2.doc
You can that see I want to keep the number which the original zip file
had. This is because I want to replace a whole series of zip files on
a website with the Word files inside them.
Ideas please?!
Thanks
Geoff
#!perl
use warnings;
use strict;
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
use File::Find;
my $dir = 'c:/a-temp';
my @zips;
find sub {
-d and return;
/\.zip$/ and push @zips, [$File::Find::dir, $_];
}, $dir;
my $zip = Archive::Zip->new;
for (@zips) {
chdir $_->[0] or die "can't chdir to $_->[0]: $!";
$zip->read($_->[1]) == AZ_OK or die "can't read $_->[1]";
$zip->extractTree == AZ_OK or die "can't extract $_->[1]";
}
------------------------------
Date: Sun, 17 May 2009 15:17:02 -0700
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: change file names using Archive::Zip
Message-Id: <s43115h5ulrg4viad491dq7b6hgudscdba@4ax.com>
Geoff Cox <gcox@freeuk.com> wrote:
>'apologies for posting in comp.lang.perl first - it doesn't seem to
>have much activity
Well, it has been rmgroup'ed over a decade ago.
jue
------------------------------
Date: Sun, 17 May 2009 19:28:02 -0500
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: change file names using Archive::Zip
Message-Id: <slrnh11asi.etk.tadmc@tadmc30.sbcglobal.net>
Geoff Cox <gcox@freeuk.com> wrote:
> 'apologies for posting in comp.lang.perl first - it doesn't seem to
> have much activity so am posting here...
It was removed over 10 years ago on news servers that are
properly maintained.
> I would like to be able to change the names of the Word files produced
> to more systematic names.
>
> Say doc-1.zip produces fred.doc
I assume that you are guaranteed that each zip archive contains
exactly one file.
> I would like to change
>
> fred.doc to doc-1.doc
> $zip->read($_->[1]) == AZ_OK or die "can't read $_->[1]";
my($old_name) = $zip->memberNames;
(my $new_name = $_->[1]) =~ s/zip$/doc/;
> $zip->extractTree == AZ_OK or die "can't extract $_->[1]";
rename $old_name, $new_name or die "mv failed $!";
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
------------------------------
Date: Mon, 18 May 2009 00:36:11 -0700
From: Franken Sense <frank@example.invalid>
Subject: Re: change file names using Archive::Zip
Message-Id: <qrg370nobjig.4170ksu5nfzl.dlg@40tude.net>
In Dread Ink, the Grave Hand of Geoff Cox Did Inscribe:
> Hello,
>
> 'apologies for posting in comp.lang.perl first - it doesn't seem to
> have much activity so am posting here...
>
> I have the code below which unzips a series of zip files.
>
> I would like to be able to change the names of the Word files produced
> to more systematic names.
>
> Say doc-1.zip produces fred.doc
>
> and
>
> doc-2.zip produces jane.doc
>
> I would like to change
>
> fred.doc to doc-1.doc
>
> and
>
> jane.doc to doc-2.doc
>
> You can that see I want to keep the number which the original zip file
> had. This is because I want to replace a whole series of zip files on
> a website with the Word files inside them.
>
> Ideas please?!
>
> Thanks
>
> Geoff
>
> #!perl
> use warnings;
> use strict;
> use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
> use File::Find;
>
> my $dir = 'c:/a-temp';
> my @zips;
>
> find sub {
> -d and return;
> /\.zip$/ and push @zips, [$File::Find::dir, $_];
> }, $dir;
>
> my $zip = Archive::Zip->new;
>
> for (@zips) {
> chdir $_->[0] or die "can't chdir to $_->[0]: $!";
> $zip->read($_->[1]) == AZ_OK or die "can't read $_->[1]";
> $zip->extractTree == AZ_OK or die "can't extract $_->[1]";
> }
What's your OS and/or target OS?
--
Frank
I'm a perfectionist and if I start making changes, I'll never stop.
~~ Al Franken
------------------------------
Date: Sun, 17 May 2009 19:45:45 -0700
From: Nathan Keel <nat.k@gm.ml>
Subject: Re: comma operator
Message-Id: <tZ3Ql.48553$Jc3.14487@newsfe16.iad>
Franken Sense wrote:
> $comments($counter)Â =Â $comment;
$comments{$counter}Â =Â $comment;
------------------------------
Date: Sun, 17 May 2009 21:29:01 GMT
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: FAQ 8.4 How do I print something out in color?
Message-Id: <slrnh110ct.o2v.nospam-abuse@chorin.math.berkeley.edu>
On 2009-05-17, Ben Morrow <ben@morrow.me.uk> wrote:
>> > use if $^O eq "MSWin32" && -t STDOUT, "Win32::Console::ANSI";
>> >
>> > before C<use Term::ANSIColor;>.
>>
>> ??? Why not just make it part of Term::ANSIColor instead?
>
> Don't ask me, I didn't write either of the modules involved :). I just
> though that since there's an available solution, the FAQ could mention
> it.
I consider "documentation optimization" a major part of a code
lifecycle. If a change to code can make documentation shorter without
removing functionality, move it up in priority of the TODO list...
Yours,
Ilya
------------------------------
Date: Mon, 18 May 2009 04:42:27 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Mon May 18 2009
Message-Id: <KJtp2r.1MI7@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-MirrorTracer-2009.051713524004
http://search.cpan.org/~andya/Acme-MirrorTracer-2009.051713524004/
Do nothing.
----
Acme-MirrorTracer-2009.051719515008
http://search.cpan.org/~andya/Acme-MirrorTracer-2009.051719515008/
Do nothing.
----
App-CPAN2Pkg-1.0.0
http://search.cpan.org/~jquelin/App-CPAN2Pkg-1.0.0/
generating native linux packages from cpan
----
Audio-Ecasound-Multitrack-0.9971
http://search.cpan.org/~ganglion/Audio-Ecasound-Multitrack-0.9971/
Perl extensions for multitrack audio processing
----
AutoXS-Header-1.00
http://search.cpan.org/~smueller/AutoXS-Header-1.00/
Container for the AutoXS header files
----
Bot-BasicBot-Pluggable-Module-Pastebin-0.01
http://search.cpan.org/~recsky/Bot-BasicBot-Pluggable-Module-Pastebin-0.01/
----
CGI-Application-Plugin-RunmodeDeclare-0.08
http://search.cpan.org/~rhesa/CGI-Application-Plugin-RunmodeDeclare-0.08/
Declare runmodes with keywords
----
CPAN-Mini-Visit-0.02
http://search.cpan.org/~adamk/CPAN-Mini-Visit-0.02/
A generalised API version of David Golden's visitcpan
----
CPANDB-Generator-0.01
http://search.cpan.org/~adamk/CPANDB-Generator-0.01/
Generator module for the CPAN Index Database
----
Cache-Ehcache-0.02
http://search.cpan.org/~yamamoto/Cache-Ehcache-0.02/
client library for Ehcache Server
----
Catalyst-Plugin-Log4perl-Simple-0.002
http://search.cpan.org/~mooli/Catalyst-Plugin-Log4perl-Simple-0.002/
Simple Log4perl setup for Catalyst application
----
Catalyst-Plugin-PluginLoader-0.02
http://search.cpan.org/~rkitover/Catalyst-Plugin-PluginLoader-0.02/
Load Catalyst Plugins from Config
----
Catalyst-View-Component-jQuery-0.02
http://search.cpan.org/~converter/Catalyst-View-Component-jQuery-0.02/
Add a JavaScript::Framework::jQuery object to TT Views
----
CatalystX-CRUD-YUI-0.019
http://search.cpan.org/~karman/CatalystX-CRUD-YUI-0.019/
YUI for your CatalystX::CRUD view
----
Cindy-0.04
http://search.cpan.org/~jzobel/Cindy-0.04/
use unmodified XML or HTML documents as templates.
----
Class-XSAccessor-1.02
http://search.cpan.org/~smueller/Class-XSAccessor-1.02/
Generate fast XS accessors without runtime compilation
----
Class-XSAccessor-Array-1.02
http://search.cpan.org/~smueller/Class-XSAccessor-Array-1.02/
Generate fast XS accessors without runtime compilation
----
Config-Divide-0.02
http://search.cpan.org/~hirafoo/Config-Divide-0.02/
config loader like Catalyst::Plugin::ConfigLoader
----
DBIx-Class-ResultSet-Atomic-0.002
http://search.cpan.org/~mooli/DBIx-Class-ResultSet-Atomic-0.002/
Atomic alternative to update_or_create()
----
Dist-Zilla-1.091370
http://search.cpan.org/~rjbs/Dist-Zilla-1.091370/
distribution builder; installer not included!
----
Dist-Zilla-PluginBundle-RJBS-0.091370
http://search.cpan.org/~rjbs/Dist-Zilla-PluginBundle-RJBS-0.091370/
BeLike::RJBS when you build your dists
----
File-DigestStore-1.004
http://search.cpan.org/~mooli/File-DigestStore-1.004/
Digested hierarchical storage of files
----
Geo-Coordinates-ITM-0.01
http://search.cpan.org/~andya/Geo-Coordinates-ITM-0.01/
Convert coordinates between lat/lon and Irish Transverse Mercator
----
Geo-IP-1.38
http://search.cpan.org/~borisz/Geo-IP-1.38/
Look up location and network information by IP Address
----
Geometry-Primitive-0.16
http://search.cpan.org/~gphat/Geometry-Primitive-0.16/
Primitive Geometry Entities
----
Graph-PetriNet-0.02
http://search.cpan.org/~drrho/Graph-PetriNet-0.02/
Perl extension for Petri Nets
----
Graphics-Primitive-0.43
http://search.cpan.org/~gphat/Graphics-Primitive-0.43/
Device and library agnostic graphic primitives
----
Graphics-Primitive-Driver-CairoPango-0.58
http://search.cpan.org/~gphat/Graphics-Primitive-Driver-CairoPango-0.58/
Cairo/Pango backend for Graphics::Primitive
----
Graphics-Primitive-Driver-CairoPango-0.59
http://search.cpan.org/~gphat/Graphics-Primitive-Driver-CairoPango-0.59/
Cairo/Pango backend for Graphics::Primitive
----
HTML-SiteTear-1.44
http://search.cpan.org/~tkurita/HTML-SiteTear-1.44/
Make a separated copy of a part of the site
----
JSON-CPAN-Meta-6.000
http://search.cpan.org/~rjbs/JSON-CPAN-Meta-6.000/
JSON is YAML; emit JSON into META.yml
----
JavaScript-Framework-jQuery-0.02
http://search.cpan.org/~converter/JavaScript-Framework-jQuery-0.02/
Generate markup and code for jQuery JavaScript framework
----
JavaScript-Framework-jQuery-0.03
http://search.cpan.org/~converter/JavaScript-Framework-jQuery-0.03/
Generate markup and code for jQuery JavaScript framework
----
KSx-Search-WildCardQuery-0.02
http://search.cpan.org/~sprout/KSx-Search-WildCardQuery-0.02/
Wild card query class for KinoSearch
----
Layout-Manager-0.25
http://search.cpan.org/~gphat/Layout-Manager-0.25/
2D Layout Management
----
List-Enumerator-0.07
http://search.cpan.org/~satoh/List-Enumerator-0.07/
list construct library
----
MIME-Charset-1.007
http://search.cpan.org/~nezumi/MIME-Charset-1.007/
Charset Informations for MIME
----
MIME-EncWords-1.011
http://search.cpan.org/~nezumi/MIME-EncWords-1.011/
deal with RFC 2047 encoded words (improved)
----
MediaWiki-API-0.27
http://search.cpan.org/~exobuzz/MediaWiki-API-0.27/
Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)
----
MooseX-Attributes-Curried-0.02
http://search.cpan.org/~sartak/MooseX-Attributes-Curried-0.02/
curry your "has"es
----
MooseX-MethodAttributes-0.11_01
http://search.cpan.org/~bobtfish/MooseX-MethodAttributes-0.11_01/
code attribute introspection
----
NetHack-Logfile-1.00
http://search.cpan.org/~sartak/NetHack-Logfile-1.00/
Parse and create NetHack logfiles
----
POE-Component-Github-0.02
http://search.cpan.org/~bingos/POE-Component-Github-0.02/
A POE component for the Github API
----
POE-Component-PubSub-0.091370
http://search.cpan.org/~nperez/POE-Component-PubSub-0.091370/
A publish/subscribe component for the POE framework
----
Scalar-Vec-Util-0.06
http://search.cpan.org/~vpit/Scalar-Vec-Util-0.06/
Utility routines for vec strings.
----
Scope-Upper-0.09
http://search.cpan.org/~vpit/Scope-Upper-0.09/
Act on upper scopes.
----
Set-Integer-Gapfillers-0.08
http://search.cpan.org/~jkeenan/Set-Integer-Gapfillers-0.08/
Fill in the gaps between integer ranges
----
Sjis-0.36
http://search.cpan.org/~ina/Sjis-0.36/
"Yet Another JPerl with Tk" Source code filter to escape ShiftJIS
----
String-Format-1.16
http://search.cpan.org/~darren/String-Format-1.16/
sprintf-like string formatting capabilities with arbitrary format definitions
----
Sys-Statistics-Linux-0.50
http://search.cpan.org/~bloonix/Sys-Statistics-Linux-0.50/
Front-end module to collect system statistics
----
TaskForest-1.25
http://search.cpan.org/~enoor/TaskForest-1.25/
A simple but expressive job scheduler that allows you to chain jobs/tasks and create time dependencies. Uses text config files to specify task dependencies.
----
Template-Toolkit-2.20_2
http://search.cpan.org/~abw/Template-Toolkit-2.20_2/
Template Processing System
----
Text-Ngram-0.11
http://search.cpan.org/~ambs/Text-Ngram-0.11/
Ngram analysis of text
----
Twitter-TagGrep-1.0000
http://search.cpan.org/~dsheroh/Twitter-TagGrep-1.0000/
Find messages with selected tags in Twitter timelines
----
Unicode-LineBreak-0.002.510
http://search.cpan.org/~nezumi/Unicode-LineBreak-0.002.510/
UAX #14 Unicode Line Breaking Algorithm
----
Wx-0.91
http://search.cpan.org/~mbarbon/Wx-0.91/
interface to the wxWidgets cross-platform GUI toolkit
----
XML-Amazon-0.12
http://search.cpan.org/~hedwig/XML-Amazon-0.12/
Perl extension for getting information from Amazon
----
XML-Descent-1.03
http://search.cpan.org/~andya/XML-Descent-1.03/
Recursive descent XML parsing
----
cucumber-0.2
http://search.cpan.org/~steveha/cucumber-0.2/
----
cucumber-0.3
http://search.cpan.org/~steveha/cucumber-0.3/
----
cucumber-0.4
http://search.cpan.org/~steveha/cucumber-0.4/
----
smokeinabox-0.01_03
http://search.cpan.org/~bingos/smokeinabox-0.01_03/
CPAN Tester smoke environment boxed
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, 17 May 2009 15:42:49 -0400
From: "Uri Guttman" <uri@PerlOnCall.com>
Subject: Re: perl 5 grammar
Message-Id: <87y6svldmu.fsf@quad.sysarch.com>
>>>>> "MS" == Mike Samuel <mikesamuel@gmail.com> writes:
MS> But in perl, these syntactic irregularities show up frequently in
MS> production code?
MS> Is there a 95% solution that seems to work reasonably well?
as others have said the better ones can do the 95%/95%. but even then
they are easy to break. here docs can sometimes do it. i know i have
seen unmatched braces (in data or comments, etc) do it even when
escaped. but then i disable colorizing when i can as it is actually
distracting to me. my eyes have to parse different colors just to read
the code!
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
Date: Sun, 17 May 2009 19:41:00 -0700
From: Nathan Keel <nat.k@gm.ml>
Subject: Re: s/(The N)e(urdsburg Affair)/$1$2/ looks dumb
Message-Id: <1V3Ql.48552$Jc3.24128@newsfe16.iad>
sln@netherlands.com wrote:
> On Thu, 14 May 2009 20:34:08 -0700, Nathan Keel <nat.k@gm.ml> wrote:
>
>>jidanni@jidanni.org wrote:
>>
>>> Sure I can do
>>> s/(The N)e(urdsburg Affair)/$1$2/;
>>> but something tells me that there ought to be a smarter looking way
>>> to get the same functionality. Something like
>>> s/The N(e)urdsburg Affair/... but what?
>>
>>Why would you capture (e) and not use it?
>>
>>Just
>>
>>s/The Neurdsburg Affair/The Nurdsburg Affair/
>>
>>Or whatever makes the best sense, if that's how you really want to do
>>it.
>
> Why not capture something when you already know what it is?
> Why not a single letter in the sequence.
> Maybe $-[1] is something you need to know. Maybe you want to
> rip out or assign substr style.
>
> Been at this very long?
>
> -sln
The OP wants to replace a mistyped (specific) phrase with the correct
one. Why the hell would anyone wants to capture $1 and $2, just to
print it out, when they can just replace as I suggested above? WHY
would someone WANT to "capture" something when they already know what
it is, if there's no relation to the task they want to achieve?
You're not making, read what the OP posted.
------------------------------
Date: Sun, 17 May 2009 15:37:04 -0400
From: "Uri Guttman" <uri@PerlOnCall.com>
Subject: Re: writing get_script as an external routine callable by C
Message-Id: <873ab3msgv.fsf@quad.sysarch.com>
>>>>> "FS" == Franken Sense <frank@example.invalid> writes:
FS> In Dread Ink, the Grave Hand of Uri Guttman Did Inscribe:
>> duh! you install it from cpan!
FS> I'm curious how you treat your clients. I was looking for documentation.
my clients usually listen to me. you have shown amazingly slow pickup on
the most basic stuff. over and over again. sorry but i call them as i
see them.
FS> As OP, I certainly didn't ask about the dumb sidebar issue of
FS> File::Slurp.
that module is dumb but fast. and a lot easier than manually opening and
closing files like you have been doing.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
Date: Mon, 18 May 2009 00:24:34 -0700
From: Franken Sense <frank@example.invalid>
Subject: Re: writing get_script as an external routine callable by C
Message-Id: <xpgm1jsz0v1j.1c0t7y8t5lr51.dlg@40tude.net>
In Dread Ink, the Grave Hand of Uri Guttman Did Inscribe:
>>>>>> "FS" == Franken Sense <frank@example.invalid> writes:
>
> FS> In Dread Ink, the Grave Hand of Uri Guttman Did Inscribe:
> >> duh! you install it from cpan!
>
> FS> I'm curious how you treat your clients. I was looking for documentation.
>
> my clients usually listen to me. you have shown amazingly slow pickup on
> the most basic stuff. over and over again. sorry but i call them as i
> see them.
>
> FS> As OP, I certainly didn't ask about the dumb sidebar issue of
> FS> File::Slurp.
>
> that module is dumb but fast. and a lot easier than manually opening and
> closing files like you have been doing.
>
> uri
I thought that I was able to get info on a module by typing
perldoc tja::hja
--
Frank
If [Stuart Saves His Family] had actually been successful it would have
been a lot better teacher for me than the failure that it was, because it
would have given me the opportunity to do more movies,
~~ Al Franken, CNN interview
------------------------------
Date: Mon, 18 May 2009 00:26:15 -0700
From: Franken Sense <frank@example.invalid>
Subject: Re: writing get_script as an external routine callable by C
Message-Id: <15dgtcfyoz7p6.17cd2t7dxl0m2$.dlg@40tude.net>
In Dread Ink, the Grave Hand of Tad J McClellan Did Inscribe:
> Franken Sense <frank@example.invalid> wrote:
>> In Dread Ink, the Grave Hand of Uri Guttman Did Inscribe:
>>
>>>>>>>> "FS" == Franken Sense <frank@example.invalid> writes:
>>>
>>> FS> C:\MinGW\source>perldoc File::Slurp
>>> FS> No documentation found for "File::Slurp".
>>>
>>> duh! you install it from cpan!
>
>
>> I was looking for documentation.
>
>
> The documentation is in the module, therefore you must install
> the module before its documentation will be available on your machine.
>
> If you just what to see the documentation without installing, then
> you won't find it on your own machine, but you can find its docs on CPAN.
That's not the way it goes on activestate.
--
Frank
If you put the two Bushs together in their over seven years of their two
presidencies, not one new job has been created. Numbers do not lie. If you
extrapolated from that, if the Bushs had run this country from its very
beginning to the current time, not one American would have ever worked.
We'd be hunter-gatherers.
~~ Al Franken, in response to the 2004 SOTU address
------------------------------
Date: Mon, 18 May 2009 02:40:05 -0400
From: "Uri Guttman" <uri@PerlOnCall.com>
Subject: Re: writing get_script as an external routine callable by C
Message-Id: <87octqkj7e.fsf@quad.sysarch.com>
>>>>> "FS" == Franken Sense <frank@example.invalid> writes:
FS> In Dread Ink, the Grave Hand of Uri Guttman Did Inscribe:
>>>>>>> "FS" == Franken Sense <frank@example.invalid> writes:
>>
FS> In Dread Ink, the Grave Hand of Uri Guttman Did Inscribe:
>> >> duh! you install it from cpan!
>>
FS> I'm curious how you treat your clients. I was looking for documentation.
>>
>> my clients usually listen to me. you have shown amazingly slow pickup on
>> the most basic stuff. over and over again. sorry but i call them as i
>> see them.
>>
FS> As OP, I certainly didn't ask about the dumb sidebar issue of
FS> File::Slurp.
>>
>> that module is dumb but fast. and a lot easier than manually opening and
>> closing files like you have been doing.
>>
>> uri
FS> I thought that I was able to get info on a module by typing
FS> perldoc tja::hja
ok, a big question for ya. how would a perl program running on your box
find the documentation for any module ever created and located anywhere
on the net? if you can answer that, write that program and i am sure it
will be included in the next release of perl.
yes, that was sarcastic. yes, i can't believe you don't even understand
how perldoc works and where it finds its docs. have you actually read
the docs for perldoc? you run perldoc perldoc.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
------------------------------
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 2424
***************************************