Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Request for feedback: interface to 06perms.txt

Received: by 10.180.101.9 with SMTP id fc9mr3911882wib.3.1350415805282;
        Tue, 16 Oct 2012 12:30:05 -0700 (PDT)
Newsgroups: perl.modules,perl.module-authors
Path: q10ni65148033wif.0!nntp.google.com!goblin1!goblin3!goblin.stu.neva.ru!nntp.develooper.com!nntp.perl.org
Return-Path: <SRS0=6YFL=IL=bowers.com=n...@srs.kundenserver.de>
Mailing-List: contact module-authors-h...@perl.org; run by ezmlm
Delivered-To: mailing list module-auth...@perl.org
Delivered-To: moderator for module-auth...@perl.org
Received: (qmail 13445 invoked from network); 14 Oct 2012 08:57:27 -0000
Received: from x1.develooper.com (207.171.7.70)
  by x6.develooper.com with SMTP; 14 Oct 2012 08:57:27 -0000
Received: (qmail 1319 invoked by uid 225); 14 Oct 2012 08:57:26 -0000
Delivered-To: module-auth...@perl.org
Received: (qmail 1311 invoked by alias); 14 Oct 2012 08:57:26 -0000
X-Spam-Status: No, hits=-1.9 required=8.0
	tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: la.mx.develooper.com
Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.187)
    by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 14 Oct 2012 01:57:23 -0700
Received: from [192.168.1.64] (host31-52-84-0.range31-52.btcentralplus.com [31.52.84.0])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0Lkkvg-1Txkkq1Bky-00ah3J; Sun, 14 Oct 2012 10:57:16 +0200
Subject: Re: Request for feedback: interface to 06perms.txt
Mime-Version: 1.0 (Apple Message framework v1283)
In-Reply-To: <20121013112511.2fe653fb@lap.shlomifish.org>
Date: Sun, 14 Oct 2012 09:57:18 +0100
Cc: module-auth...@perl.org,
 modu...@perl.org
Message-ID: <37A2A125-2805-4D05-A0D7-D86711190B10@bowers.com>
References: <99AB409A-49CA-4618-9B9D-83424180312A@bowers.com> <20121013112511.2fe653fb@lap.shlomifish.org>
To: Shlomi Fish <shlo...@shlomifish.org>
X-Mailer: Apple Mail (2.1283)
X-Provags-ID: V02:K0:ndF1Qpr/btHxMGk4SvvLGOKABhqClQ0ESMxj6Mvy3Nw
 p/V74vuNTzlS3u3DrscUCVUsvgBOZ0LttwZdxpDX5MjH1xMIpC
 yGC4nsnl7la6PczCPvmwgjEXdtqjukEgtZhoFYIXIBRAPq3Z/8
 hM6F3CUH5iO13B0M1yhA2YIuLa7kPNsAZa9a7gVSCBcxVpZ3z7
 MekRwU7sStPNP4FVPbh7j6r35bpki4W0rOt2XzS21va9ZOkjRI
 09eSy09SFVypWnHMXEduFtmm3VqvkXxY5qMrR/Ne+l/+kHANi6
 xQQP9xEROIZzOc2eYwndN0Ylw8KN/XjiRgr3mqKYWFsDU2ayVq
 37sYuO0IMy998eOjBEMosY/uCeYM/1rJkzQlXvVob
Approved: n...@nntp.perl.org
From: n...@bowers.com (Neil Bowers)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi Shlomi,

Thanks for your thoughts.

>> PAUSE::PermissionsFile
>> Module::Permissions
>=20
> Preferably, those two classes should be under the same namespace.

Yeah, I realised that as I continued working on it. They are now.

I'm leaning towards PAUSE::Permissions now, but am waiting to see what =
Andreas thinks.

> It would be a good idea to add "my" to the synposis, so as to make it
> "use strict;"/"use warnings;"-compliant.

I'm in two minds on that. Generally I think a SYNOPSIS should be as =
brief and clear as possible, to get across how to use the module, so =
sprinkling it with 'my' is a distraction. For example, all the reviews I =
write have SYNOPSIS style code examples, and none of them have 'my'. But =
the code is all run with strict and warnings, but I just predeclare =
everything before the section that gets included in the review.

But there's the subliminal "of course you always declare things, and use =
strict and warnings, right?" effect.

So I've added them :-)

>> By default PAUSE::PermissionsFile will mirror (using HTTP::Tiny's
>> mirror) 06perms.txt, and then work off the local copy.=20
>=20
> I would suggest against contacting remote sites by default, due to
> the "Test programs should not connect to Internet resources" item =
here:

The module mirrors by default, but for my tests I use a local mini =
06perms.txt, for exactly the reasons you give.

Cheers,
Neil