Rodent of Unusual Size wrote:
true enough -- but there doesn't appear to be anything that
handles the old 2-to-3-character names (ACK, NAK, XOFF, DEL,
et cetera). i have a need for these short versions.
are you suggesting that it's not worth wasting time on a cpan
module for this? or that it sh
Rodent of Unusual Size wrote:
david wrote:
call the module "ASCII::TTYish" and have it import all the old names
as constant functions.
er, no existing ASCII:: namespace. how about Convert::TTYnames ?
it might also make sense under Constant::
Simon Cozens wrote:
[EMAIL PROTECTED] (Khemir Nadim) writes:
When I get the message above, I'll hit the return key faster than light
There's not really much a module author can to do help a user like that.
yes there is, it's the custom VERSION subroutine. Your legacy program
dies with t
Vagn Johansen wrote:
How are interface changes handled on CPAN?
They're not. I'm trying to promote a pradigm of including a VERSION
subroutine that
will croak (or at least die) when you ask for a non-forwards-compat.
version.
In theory, you change the name when you change the itnerface, instea
khemir nadim wrote:
David, Could you please tell us what you think about the only.pm module,
which seems to fix the problem rather well, and how it compares with your
solution.
Cheers, Nadim.
Nadim:
There are at least five different working solutions to interface change
on CPAN.
I just became
tions.
My personal perspective is that I'd rather wait until version is in core
in 5.10 before releasing modules with three-number style versions.
Regards,
David Golden
that already?
I seem to recall that I switched from 1.2.3 to 1.0203 because of one of
the Module::Install packages for computing version differences. I believe
it uses lexical when I can't figure out numerical. As a result, 1.2.10 was
less than 1.2.3.
$VERSION = sprintf "%d.%02d
ven the myriad
templating systems already out there, can you describe what your module
does that is distinctive? That's usually a good place to start when
thinking about names.
Regards,
David Golden
David Golden wrote:
Jim Schneider wrote:
I have three modules I am preparing to submit to CPAN, and I was
hoping to get some input on the names.
The modules are:
1) DBIx::Class::Simple - a simpler alternative to DBIx::Class, but
alas, not compatible (not even a little bit). It takes a
David Landgren wrote:
David Golden wrote:
WWW::USPS::ZipPlus4
Again, seconded. I was going to say the same thing (although I suppose
the Zip4/ZipPlus4 distinction refers some sort of regional context that
is lost on me).
Apologies. After I sent that, I realized I should have explained
demonstrate what the focus should be
on but couldn’t be bothered to think of a good name).
DBIx::PQL?
Regards,
David
On Sunday March 19, 2006 07:56, Philippe 'BooK' Bruhat wrote:
> Le dimanche 19 mars 2006 à 22:07, Dr Bean écrivait:
> >
> > But perhaps using the same number more effectively hides the
> > other version.
>
> It hides it so well, that search.cpan is confused: if you go
> on http://search.cpan.org/
=cut
--- end of file --
Would anyone want this on CPAN? And if so what should it be named?
--
David L Nicol
Should the bike shed have bunks? Or maybe cots?
e worst. Insert Monty Python Dead
> Parrot Sketch references here. Anyway, if someone is unresponsive and never
> coming back, what do we do then?
maintain their modules without them and prefix their names with
memorial underscores
--
David L Nicol
Document what you do, then do what you documented
i.e. "direct"), just tack that on as a more
specific qualifier:
* Net::DNS::AXFR::Direct
Or, better yet, since I seem to recall seeing that this is a querying tool:
* Net::DNS::AXFR::Client
Regards,
David Golden
arch.cpan.org. Then just reference "Math::Polynomial::Solve::Docs" in
your main Pod file.
If you want to get really fancy, you could also configure a CPAN install
tool to install the PDF in the perl library path for local browsing.
(See the Module::Build::Cookbook for some examples).
Regards,
David Golden
th the proposed name. So
either do people have strong feelings about the name and/or a better
name for a module? Hint: When you read the subject of this message, did
you have a pretty good idea of what this module does?
Or did I overlook a module that already does this?
Thanks for your insights,
David
--
"It's overkill of course, but you can never have too much overkill."
Eric Wilhelm wrote:
# from David Landgren
# on Monday 22 May 2006 09:52 am:
print join( ' ', map { "(@{$p->[$_]})" } 0..$#$p ), "\n";
Stylistically, I think it is much clearer to not use the index if you
don't need it.
print join(' ', map
Kurt Starsinic wrote:
On 5/22/06, David Landgren <[EMAIL PROTECTED]> wrote:
I have a list of elements, qw[a b c d e] and I wanted to steal some code
from CPAN to divvy it up into two subsets of 2 and 3 members. And
enumerate all the possibilities.
[ . . . . ]
Now my observation is th
below.
[...code snipped...]
Nice.
I lacked the time to follow up on this originally. My original snippet
was perhaps too trivial.
The particular itch I wanted to scratch had four subsets, which would
require a certain amount (too much, IMHO) of make-work code for this
approach to be viable.
Ken Williams wrote:
[...]
BTW, Xavier & David both: The proposed interface for enumerating the set
partitions uses array refs, but sets in perl are more naturally
represented using hashes. I'd suggest re-implementing in terms of
hashes, or perhaps giving it a complete-enough OO
eeves will show up and
wreck everything.
--
David L Nicol
note to self: obtain design patent on a cell phone that looks like a banana
:Account, etc). The POD-in-progress for
Yahoo::Marketing is below.
Any thoughts/comments/suggestions about the intended namespace would be
greatly appreciated.
There is already at least one module in WWW::Yahoo::*. I would suggest
slotting your modules in at that level as well.
David
--
Tim Bunce wrote:
On Fri, May 26, 2006 at 11:26:22PM +0200, David Landgren wrote:
Jeff Lavallee wrote:
of the SOAP::Lite details. Currently, I'm planning on calling it
Yahoo::Marketing. Yahoo::Marketing.pm itself would just serve as a
place holder (with POD) for the time being, with al
On 6/22/06, David Landgren <[EMAIL PROTECTED]> wrote:
Could Perl get Reversible Debugging?
[...]
We need a "come from" instruction
http://xrl.us/nnuw
I don't recall reading a demand for a "come from" instruction in that thread,
but I had an idea last ni
Regardless, I encourage PAUSE admins to better document how CPAN uses
no_index (as it currently points to a missing spec file, no less).
Thank you all very much,
Regards,
David Golden
to reflect de facto usage.
As for "dir", I'm three of the 13, so discount those. I'm not sure
that's worth adding to CPAN. Maybe it calls for dropping "dir" from the
spec unless anyone else knows who's using it.
Regards,
David
In the last day or so, every time I go to rt.cpan.org, it seems to
nearly finish loading a page and then just stalls.
Deleting the cookie for it seemed to help briefly, and then it stalled
again after submitting a bug report.
Are others experiencing difficulty?
Regards,
David Golden
ike to be able to profit from the experience, and I figure if I
structure things the same way, it will be a Best Practice, and people
will more readily understand what's going on, which is a win all round.
Thanks,
David
--
Much of the propaganda that passes for news in our own society is
n I ask, is there nobody doing text substitutions/macro
expansions on pm files on their way from the source directory to the
./blib/lib directory? It seems to me to be a useful technique, and I am
surprised that nobody (is/admits to) using it.
Thanks,
David
--
Much of the propaganda that passes f
David Landgren wrote:
So again I ask, is there nobody doing text substitutions/macro
expansions on pm files on their way from the source directory to the
./blib/lib directory? It seems to me to be a useful technique, and I am
surprised that nobody (is/admits to) using it.
Yes, sort of, via a
n the same File-StatCache one, as they are likely to be used
together
What's the advantage of implementing your own read caching instead of
letting the OS handle it? Will this effectively cache twice, once
manually and once by the OS, and cost double memory?
Regards,
David
en over and patched Sub::Uplevel, so it should now be fine. So,
personally, if you like Test::Exception, I'd go ahead and use it.
Regards,
David Golden
om may or may not fly. I
don't think it would work; at least not any better than activestate's vetting
of what becomes a PPM.
--
David L Nicol
all your grammar nit are belong to us
Email Ask Hansen at [EMAIL PROTECTED]
Regards,
David Golden
e imacat on her contributions. She runs one of the best
smoke testers on cpan-testers: it's really strict and seems to catch
lots of people out on subtle dependency problems. She's also been very
responsive to questions I've had about failed test reports. These are
contributions I
x27;t even in the $PATH) that gets reset after each smoke. From test
reports I've seen, it looks like the whole non-core prerequisite chain
gets installed from scratch for each module tested.
Regards,
David
y == 0 and ($$x--, $$y=1, return);
$$x-- ; $$y= tr_dispatch(SUB=>\&tr_Ack, ARGS=>[$$x, $$y - 1]);
}
Comments welcome, especially interface improvement ideas.
--
David L Nicol
On 8/30/06, Dana Hudes wrote:
Have you read MJD's _Higher Order Perl_? He addresses tail end
recursion removal.
I've skimmed it... did he put up a module that does it for you?
I realized that I left my prototype/prrof-of-concept off of the
previous message to module authors; here it is -- than
On 8/30/06, Andy Armstrong <[EMAIL PROTECTED]> wrote:
Sorry, I've missed something here - how is your 'framework' superior
to a simple queue based approach?
it demonstrates tail-recursion, as such, and is not intended to be
a superior approach to other practices.
I just realized that goto sub
On 8/30/06, Andy Armstrong <[EMAIL PROTECTED]> wrote:
I don't think goto sub can really be described as a framework... Or
if it can may I start describing if() as a decision support system too?
I won't stop you :)
But why are you showing us this stuff? Who is it for? I'd have
thought that a
getting the invocation syntax right was kind of tricky since my first thought,
which was that writing to $_[0] would overwrite the symtab entry for a
subroutine when the optimizer was invoked tr_optimize(\&function) turned
out to be incorrect -- it will work with globs though -- no support for
ano
s can see it. Maybe
perlmonks too.
Quite. Sometimes I think that someone should start writing a "This week
on module-authors" summary.
David
--
Much of the propaganda that passes for news in our own society is given
to immobilising and pacifying people and diverting them from the
rrent maintainer, demerphq, on improvements? I think that
would be a better approach.
Regards,
David Golden
ng about Win32::API -- the current release doesn't build
on MinGW, which prevents it from working on Vanilla Perl. There's an
unreleased patch, but it needs a new maintainer. See:
http://win32.perl.org/wiki/index.php?title=Vanilla_Perl_Problem_Modules
for some details.
Regards,
David
On 9/20/06, David E. Wheeler <[EMAIL PROTECTED]> wrote:
On Sep 15, 2006, at 21:37, Darren Duncan wrote:
> ...
> Or, perhaps the best piece of feedback I can get short term is what
> to name the module, knowing that it is meant to be temporary. I
> thought "quick and
ibute::Handlers or, again, do some special
workarounds, then your attributes won't play well with any other
attributes modules that use different methods. Attribute::Handlers is
the closest to a standard that lets attribute modules play well
together.
Regards,
David Golden
On 9/21/06, Ov
uld do to improve it.
(So I marked the review as unhelpful, heh).
How can I get in touch with the person to find out what they didn't like
about it. Then at least I might be able to do something.
Thanks,
David
--
Much of the propaganda that passes for news in our own society is given
to imm
David Landgren wrote:
List,
I've just noticed a scathing review on one of my modules. Ok, it's
Tie::Cycle::Sinewave and a bit of a joke, but nonetheless, it does seem
to work just fine for me.
Dear List,
you may ignore this question. It turns out that the review in question
wa
"FAQ etc" section needs a link to
jobs.perl.org?Regards,David Golden
current.html no_index:file:- My/Module.pm
dir:- My/Privatepackage:- My::Module::Stuffnamespace:- My::Module::StuffNote that PAUSE/CPAN use "directory" instead of "dir".Regards,
David Golden
On 10/13/06, Ken Williams <[EMAIL PROTECTED]> wrote:
I'd like to rectify this, shall I simply patch the spec as follows?
Please. It's going to be easier to patch the spec than update all the tools.
David
release and thus does not show up for that
reason. Only those who really want it and know how to get it will do so.
If you want it to be returned in searches, you'll have to bump the
version to 0.09.
David
--
Much of the propaganda that passes for news in our own society is give
here to find them?
Or am I making this unnecessarily complicated? (I could just bundle the
data file with the distribution, but the size of the data file, and the
probability that the format is unlikely to change invites the above
approach).
Thanks,
David
--
Much of the propaganda that passes f
On 11/10/06, David Landgren <[EMAIL PROTECTED]> wrote:
I suppose it will default to the site_perl directory if run in batch
mode, but interactive installations allow the directory to be specified.
OS distribution maintainers may wish to override the default (how? an
environment variabl
earch.cpan.org should
ignore registered modules for which there is no published module.
David
--
Much of the propaganda that passes for news in our own society is given
to immobilising and pacifying people and diverting them from the idea
that they can confront power. -- John Pilger
uldn't argue
it for long.
Question: (?:how)? does your module deal with positional records (that
is, fixed width fields)? as opposed to delimited records?
For instance, I sometimes want to apply a hash lookup to the fourth
field of ten, to map values from one system to another.
David
--
Has anyone written a perly interface to the gnome planner file format?
It's XML so it's going to be basically a breeze, but I'd rather re-use someone
else's tool if available.
ok to that for a name.
Regards,
David Golden
::Exception depends on Sub::Uplevel, which overrides
CORE::GLOBAL::caller, so there is already some deep magic that I'm not
sure should get rolled into Test::More.
David
pected.
Where might this matter for real? A couple example would be testing
functions that rely on caller() to modify a symbol table or to check
"public/private" permissions.
Test::Exception isn't like a preprocessor macro -- it changes the
semantics of how the code is called in non-trivial ways.
David
Andy Armstrong did write:
Once Ask or whoever gives me permissions the new release will appear in
the index. For now it can be found here:
http://cpan.org/modules/by-authors/id/A/AN/ANDYA/CGI-Simple-0.078.tar.gz
Ping brian d foy, but I imagine he's already watching this thread.
DAvid
f one of them
to hand over maintenance? Or do we forget about it until next time? If
it's worth it, then I would volunteer.
David
eenan?
oops! That'll teach me to not cut'n'paste. I was looking at Freeman's
directory, but typed Keenan, since obviously my brain is more used to
seeing it. My humblest apologies.
David
ority sounds useful, as does Algorithm::LCSS. What needs to be
done, and was discussed recently, is have a way of detecting dead
modules, based on untaken RT tickets and author uploads.
David
s of interesting
reports. Is Jesse Vincent the person to ask for this?
David
roblem with CPANPLUS support for Module::Build and
CPANPLUS is used by the smoke tester.
CPAN.pm and CPAN::Reporter capture output from Module::Build based
distributions just fine.
Regards,
David
is there a DesignPattern:: section? I did not take the time to fully
understand your explanation
but the gist I got was that you are comfortable with design patterns
nomenclature. I know
there are at least some documentary CPAN modules concerned with DP in
Perl, but do
not know if DP-based abstr
On 1/19/07, Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote:
That wasn't the intention, it's really just looking to find a class that
is already installed and usable, that itself declares ability to be what
you asked for.
so the invention in a module that facilitates creation of portable modules
o open RT tickets on perl.org with updates. Mailing
[EMAIL PROTECTED] will do that.
Thanks,
David
e revision history.
Thanks for any clues I can use,
David
Nik Clayton wrote:
> David Landgren wrote:
>> Parallel to that, I look after the mongueurs.net svnweb repositories,
>> and I've been trying to track down a memory leak with Nik Clayton.
>> Alas, at some point I ran some tests of his against a couple of live
>> r
nd that the module is not condoned
by the general Perl community.
David
* you plural, I'm not just talking about Joshua
Andy Armstrong wrote:
On 8 Feb 2007, at 17:20, David Landgren wrote:
And as we all know, 99% of modules these days are found through
searches. I would recommend a much more subtle approach: ask Andreas
and Randy to... oops... accidentally remove it from their indices, and
therefore when
he comments in the source code are distinctly unfunny.
David
ump will
have me writing much less make-work code.
Later,
David
Philippe Bruhat (BooK) wrote:
Le dimanche 11 février 2007 à 18:06, David Landgren écrivait:
[...]
and I suspect that will cause indigestion later on. Rather than fiddle
around with calculating content lengths myself, or try and drop the
entire stanza since there's nothing left, it
Hi Ashley!
Ashley Pond V wrote:
Dave Rolsky wrote:
I don't know the exact rules of CPAN regarding non-free licenses, so
I'm not sure if this should be pulled. Unlike the Bantown license, it
probably doesn't prevent CPAN from distributing it. OTOH, if there
were a mirror at a .mil address, this
Hi Ashley!
Ashley Pond V wrote:
Dave Rolsky wrote:
I don't know the exact rules of CPAN regarding non-free licenses, so
I'm not sure if this should be pulled. Unlike the Bantown license, it
probably doesn't prevent CPAN from distributing it. OTOH, if there
were a mirror at a .mil address, this
On 2/21/07, Dave Rolsky <[EMAIL PROTECTED]> wrote:
Insisting on _a_ license is actually a really good idea. Absent an
explicit license, CPAN does not have the right to redistribute the
software, nor do mirrors.
that's nonsense. CPAN is equipment, it is not an actor with moral compass.
Whoever
http://search.cpan.org/src/NKH/PerlBuildSystem-0.43.290/licence.txt
it isn't gibberish, it's perfectly clear; he has a restricted licence. So what?
ail/na/unknown:yes pass:no'
David
s" for this kind of extra information. E.g.:
notes:
cc_author: no
Thanks in advance for your thoughts.
David
;
approach, as that makes the purpose of the additional information
slightly clearer.
David
[1] http://module-build.sourceforge.net/META-spec-blead.html
t
work with META.yml.
Alternatively, if anything not expressly forbidden is allowed, then
it's easy to add extensions, but hard to predict what various tools
will do with it now or in the future
"X-" or "hints" are just a middle ground to isolate the problem.
David
with
a very simple binary option rather than see a whole extension system
built.
cc_author: 0
Or even -- in a CPAN::Reporter independent style -- something like this:
cc_author:
pass: 0
fail: 1
unknown: 1
na: 0
So I'm urging more laziness and impatience, less hubris.
David
ge my mind and decide I'd rather see reports via RSS
and not email, I wouldn't want to have to upload a new file somewhere.
"within the cpan-testers system"?
Since the CPAN Testers system is cobbled together around a mailing
list, I think the only central place would be somewhere on PAUSE.
David
Makefile.PL
(b) Include Module::Build explicitly as a prerequisite of your module
(c) Ignore test reports from CPANPLUS
David
ree in the meantime that providing a traditional
Makefile.PL along with a Build.PL is usually a wise approach, as Chris
suggested.
David
On 3/13/07, Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote:
On Sat, Mar 10, 2007 at 11:04:44PM -0500, David Golden wrote:
> (a) Use only Makefile.PL
I can't, on account of using lots of "build_requires" lines which EU::MM
can't handle.
I think if you use M::B and
add:
create_makefile_pl => 'traditional'
to your Build.PL, run "perl Build.PL; Build distmeta". Then try
running your dh-make-perl and see what dependencies are identified.
David
ion is presumably included to prevent commercial
distributions of programs written in Perl from competing with the
parallel open source distributions of Perl that are intended to
encourage innovation and contributions to Perl itself.
Regards,
David
On 3/20/07, Adam Kennedy <[EMAIL PROTECTED]> wrote:
Gabor Szabo wrote:
> On 3/18/07, David Golden <[EMAIL PROTECTED]> wrote:
If you install your program, but say "And since it installs Perl, you
can also use it to write your own Perl programs!" that would be overtly
maki
specifically, paragraph 4.c:
[you may distribnuted modifed Perl provided you]
give non-standard executables non-standard names,
and clearly document the differences in manual pages
(or equivalent), together with instructions on where to
get the Standard Version.
So, something like "Whizzomatic
These things could be easier.
Kudos to Imacat for being persistent enough to make sure the message
gets through.
David
diff them
against those two files in blead? I can't see the point of stuffing all
the ancillary distribution files into the blead tarball when the .pm and
.t will be enough. What do other people do/have other people done?
Looking for clues,
David
h bits (Andreas? Adam?) I strongly recommend
allowing Xavier to be co-maintainer. Useful module, stupid bug, a shame
to let it rot.
Should Olivier complain afterwards, we'll just bribe him with a beer or
two. Either that, or break his knee-caps. Whatever.
Regards,
David
I'm using his lib
As with most things relating to Perl infrastructure, I'd start by
asking Ask: [EMAIL PROTECTED]
Regards,
David
On 4/2/07, Jerry D. Hedden <[EMAIL PROTECTED]> wrote:
Who do I need to contact to get access permission on svn.perl.org so I
can add the 'threads' and 'thre
On Mon, Apr 02, 2007 at 10:19:21AM -0500, Andy Lester wrote:
> I recommend using Google Code hosting at code.google.com instead.
> Setup is trivial, as is adding people to the project.
What's the advantage over sourceforge?
--
David Cantrell | Cake Smuggler Extraordinaire
I re
I CC'ed module-authors on a reply to this from the ticket, but in case
that doesn't get through, here's the skinny on funet.fi later on today.
So no need to worry if it looks like your beloved upload is taking time
to propagate, it is to be expected.
Thanks,
David
--- Begin M
1 - 100 of 1137 matches
Mail list logo