pure-Perl modules also?
This is not the first time I see this argument and I never
understood it. *headscratch*
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Aristotle Pagaltzis pagalt...@gmx.de [2009-06-18 04:25]:
I even delayed writing this note, thinking I’d get around to
making my changes available, but they’re insubstantial and
unfinished and it really doesn’t matter any more.
Actually, http://github.com/ap/Getopt--Auto has my work now
* Jonathan Rockway j...@jrock.us [2009-05-03 08:00]:
* On Sat, May 02 2009, Aristotle Pagaltzis wrote:
Yeah, if there are thousands of other programmers using a
module, then its name can be pretty much anything.
If more or less the only marketing it has is search.cpan.org
results page
to pop up and there’ve been plenty of
genuinely interesting posts in them.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
it has is search.cpan.org
results page, then most potential users will miss it unless its
name is descriptive and based on keywords someone might actually
use to search for something like it.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
outside your own package is easy
to do, there’s some pretty repulsive syntactic salt associated
with it – as it should be.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
with their privates.
Let me guess – it’s not worth the effort, right? If I cared, I
would already know…
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
value will be unchanged a long time later.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
://weblogs.mozillazine.org/roadmap/archives/2007/02/threads_suck.html
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
and insubstantial in their essence.
But I can only ignore them at my (variously terrible) peril, and
so for better of for worse, I know and care.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
is all about the long tail.
Boring and descriptive beats cute and creative in naming a
CPAN-scale number of things.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
% of that is still a big number.
That is why the CPAN is useful.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
a dependency without any hesitation at all.
In other cases I do not even consider dependencies. Usually it
takes me a while to decide. It always depends a great deal.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
,
--
Aristotle Pagaltzis // http://plasmasturm.org/
part of Module::Build proper?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
to allow user commentary
inline with distro views
Adding a social network could work very nicely, both to partly
address several of the things you listed as well as to add other
equally useful features.
(No, I’m not joking. :-) )
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Dave Rolsky [EMAIL PROTECTED] [2008-09-22 17:55]:
Note that this differs from ratings, which I don't find very
useful at all.
Agreed. And trust networking is how humans are wired anyway.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* David Nicol [EMAIL PROTECTED] [2008-09-22 18:05]:
On Mon, Sep 22, 2008 at 10:57 AM, Aristotle Pagaltzis [EMAIL PROTECTED]
wrote:
* Dave Rolsky [EMAIL PROTECTED] [2008-09-22 17:55]:
Note that this differs from ratings, which I don't find very
useful at all.
Agreed. And trust
* David Nicol [EMAIL PROTECTED] [2008-09-22 23:15]:
On Mon, Sep 22, 2008 at 4:03 PM, Aristotle Pagaltzis [EMAIL PROTECTED]
wrote:
formal trust metrics can be gamed. That's also how humans
are wired.
Sure, but not to any useful extent if they are person-centric
* Eric Wilhelm [EMAIL PROTECTED] [2008-08-04 09:15]:
# from Aristotle Pagaltzis
# on Sunday 03 August 2008 21:25:
but if you consider all possible valid Perl code files that do
something useful, it actually falls over most of the time.
Grind your code through Acme::Bleach and give it PPI
, it actually falls over most of the
time. Grind your code through Acme::Bleach and give it PPI,
f.ex.; you’ll get nothing interesting out the other side.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Pagaltzis // http://plasmasturm.org/
* Johan Vromans [EMAIL PROTECTED] [2008-07-09 17:10]:
What are the alternatives?
You probably want to use git-describe in your build script.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
the razz smiley. :-)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Jonathan Rockway [EMAIL PROTECTED] [2008-07-02 18:30]:
* On Tue, Jul 01 2008, Aristotle Pagaltzis wrote:
If I see a module called Exception::Easy in a list of modules,
I have *absolutely no idea* what it does. In contrast, if it
was Exception::Class::Functions, I could immediately guess
* Aristotle Pagaltzis [EMAIL PROTECTED] [2008-07-03 00:25]:
In fact, the “simplified” in “simplified interface” is largely
redundant. Using an interface by definition means you are
looking for simplification in doing or accessing the thing that
the interface provides.
Similar words that say
* Eric Wilhelm [EMAIL PROTECTED] [2008-07-03 02:00]:
# from Aristotle Pagaltzis
# on Wednesday 02 July 2008 15:21:
no one would call a module Exception::Complicated except as a
joke.
Well, you're going to have a hard time predicting what a gaggle
of zany programmers might do, especially
could immediately guess pretty
well at what it does, even if I didn’t know exactly.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
.
You’ve seen Sub::Exporter?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
that, the problem is that any name you
pick is inevitably going to be quite long.
The only suggestion that occurs to me is the File::Spec
vs File::Spec::Functions precedent, which would suggest
Exception::Class::Functions for your module.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
don’t have any plans to inflict your creation on production code
then that’s great too: learning by doing provides the deepest
understanding.
But “$system/$library/$framework intimidates me” is not a valid
reason to do a zero-effort hack.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
proliferation is a good idea, but sometimes their code
is coupled to someone else’s and they have no choice.)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
in declaring licenses in CPAN modules.
That is also a good idea, of course.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
you mean. In
case of the Artistic Licence, there is no 1.0 version as it was
never called Artistic 1.0 prior to the work on Artistic 2.0.
Using a version number in the name is purely a marketing device.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
programmers will have.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
,
--
Aristotle Pagaltzis // http://plasmasturm.org/
. `perldoc pack`), etc.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
of the huge dependency tree of Catalyst was only
required by the dev tools. So if you were lazy and relied on your
Catalyst dependency pulling in all those other kitchen sinks,
then after the split your app would no longer install.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Hans Dieter Pearcey [EMAIL PROTECTED] [2008-03-26 18:20]:
(or perhaps /id/ID instead.)
++
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
of representations – or none at all. Some of them may be
identical with the representation of a different resource during
a particular time period, even though they’re different resources
(such as /dist/Foo-Bar and /dist/Foo-Bar-1.23).
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
. I for one would be
terribly upset to find someone had appropriated code of mine
before I got a chance to have a say in the matter, *even if*
I would have been willing (possibly even glad) to pass the
pumpkin on.
It’s just courtesy.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
::AnyData::CSV is a module that subclasses
Tie::File::AnyData. It allows to group multiple CSV lines
into 1 record based on a given field. I am looking for a proper
name for this module too, maybe
Tie::File::Formats::MultilineCSV.
Tie::File::Record::CSV::Grouped
Regards,
--
Aristotle Pagaltzis
* Ovid [EMAIL PROTECTED] [2007-12-19 15:40]:
Is there a way to do this that I just haven't seen in the docs?
http://search.cpan.org/dist/pip/
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
pip (see my previous mail) uses.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
it was not a victory originaly.
And the original premise of the subthread was that we should not
be putting defeats on the CPAN. In light of your statement that
all victories turn into defeats in the long run, I think we can
safely conclude that the premise was false.
Regards,
--
Aristotle Pagaltzis // http
* Dr.Ruud [EMAIL PROTECTED] [2007-12-08 13:50]:
A. Pagaltzis schreef:
Most of the modules that give me the heebie jeebies just
never took off; I never had to install IO::All or Spiffy,
say.
I love those, so I am unable to understand any objections.
Nor do you need to. We can perfectly
of the modules that give me the heebie jeebies just never
took off; I never had to install IO::All or Spiffy, say. So I
don’t worry, and neither should you.
--
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(,$\/, )[defined wantarray]/e;$1}
Just-another-Perl-hack;
#Aristotle Pagaltzis // http
either, but at least they’re specifically
targetting it, so they tend to get more common cases right than
the CPP which readily breaks the simplest things.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
-hack;
#Aristotle Pagaltzis // http://plasmasturm.org/
, without anything in the names
of the modules to distinguish them.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
writing Perl, and popular opinion these days
seems to be “why would anyone want to write Perl?” Let us not be
them ourselves.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Michael G Schwern [EMAIL PROTECTED] [2007-11-20 20:50]:
If there is some hidden, silent cache of dedicated 5.5 users
out there, maybe this announcement will flush them out.
Question is only, “flush them out” in what sense… :-)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
, but anyway.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
of them.
Moving forward with META.yml for WWW::Mechanize and
Test::WWW::Mechanize.
Yeah,
* A. Pagaltzis [EMAIL PROTECTED] [2007-10-29 23:15]:
there’s virtually no point in me pointing out that we could do
better, but anyway.
of course. It’s just not gonna happen. Oh well.
Regards
* Andy Lester [EMAIL PROTECTED] [2007-10-29 23:30]:
On Mon, Oct 29, 2007 at 11:25:34PM +0100, A. Pagaltzis ([EMAIL PROTECTED])
wrote:
* Andy Lester [EMAIL PROTECTED] [2007-10-29 23:15]:
Best is the enemy of the good.
And next time this will be handy, it will also be too big a
change
. ;--)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
mention, and by hooking
itself into tainting.
And I’m almost positive that I have seen one more module that
tries to address the exact same issue.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
expect it
to to become The Way To Do OO In Perl 5, much less rejuvenate
Perl in the eyes of Java/C# developers.
If the cold shower I’ve administered above hasn’t dissuaded or
discouraged you from pursuing your ideas, more power to you. :-)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
to you by Andy Lester’s Perlbuzz rant.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Philippe Bruhat (BooK) [EMAIL PROTECTED] [2007-10-09 01:55]:
What's wrong about this?
eval use My::Big::Namespace::$_;
for qw( This That Munger::Fast Munger::Precise );
die $@ if $@;
That a) you check $@ to see if `eval` succeeded b) you do this
only once after performing
* Eric Wilhelm [EMAIL PROTECTED] [2007-10-09 09:50]:
The import() method is calling require at run-time. That's
going to take some heavy lifting ;-)
Err, I meant `qw( import )`.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Ovid [EMAIL PROTECTED] [2007-10-09 09:40]:
--- A. Pagaltzis [EMAIL PROTECTED] wrote:
* Eric Wilhelm [EMAIL PROTECTED] [2007-10-09 01:55]:
This changes the require() on Foo::Report and Foo::Customer
to run-time though, right?
use Devel::BeginLift qw( require );
Cute trick
* Smylers [EMAIL PROTECTED] [2007-10-09 10:25]:
Well don't have them then -- put the assignment in the use
statement, which is run at BEGIN time anyway:
use Test::More tests = 1;
my $CLASS;
use ok $CLASS = 'DateTime';
Sneaky! I like.
--
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(,$\/,
pkg::relative which Eric Wilhelm liked; no word from
Sébastien yet though.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Foo::Bar qw();
use Foo::Baz qw();
# ==
use relative Bar = [], Baz = [];
Doesn’t seem to be a problem… the mapping even is 1:1.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Eric Wilhelm [EMAIL PROTECTED] [2007-10-09 01:55]:
This changes the require() on Foo::Report and Foo::Customer to
run-time though, right?
use Devel::BeginLift qw( require );
:-
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
anyway.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Hi Sébastien,
* Sébastien Aperghis-Tramoni [EMAIL PROTECTED] [2007-10-06 18:55]:
relative.pm is now available on the CPAN.
nit:
--- relative.pm.orig2007-10-06 22:58:22.0 +0200
+++ relative.pm 2007-10-06 22:58:32.0 +0200
@@ -70 +70 @@
-# loads Enterprise::Framework:Base,
Hi Sébastien,
* Sébastien Aperghis-Tramoni [EMAIL PROTECTED] [2007-10-06 03:05]:
package BigApp::Report;
use relative to_parent = qw(Utils);
# loads BigApp::Utils
use relative to_self = qw(Create Publish);
# loads BigApp::Report::Create,
,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Thomas Klausner [EMAIL PROTECTED] [2007-09-17 14:30]:
cpants takes ~ three hours to unpack each dist and run
cpants_lint on it.
Hmm, that sounds eminently doable. If no one else pipes up,
I’ll probably do a run tonight.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
. :-) Especially so
because where ::Extract puts things is almost exactly where
I would have put them too.
Alias++
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
something the installer
should be smart enough to figure out, isn’t it?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* John Siracusa [EMAIL PROTECTED] [2007-09-07 13:15]:
Ideally, logging would disappear entirely from the code path
when disabled. Perl being Perl, this is rarely possible,
Will be easy in 5.10, coming Any Day Now.
FWIW…
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Hi all,
I have a module that I don’t want to spend the effort to make it
work in Perl versions earlier than 5.8. Got no Unicode support?
You lose.
But how do I say this in the Build.PL?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
, will that include the appropriate `require`
stanza?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
be stuck.
Or you could go with Net::Slim or Net::SlimServer but then they
could get bought by some other company and the name wouldn't
work then either.
But in any case I think Net:: is the best top-level name.
++ to all of this.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
is just a place for authors to hang out and help each other
with module-related issues; it’s not where the CPAN cabal’s
convenes.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* David Nicol [EMAIL PROTECTED] [2007-06-29 18:20]:
String::Sandbox ??
That's pretty good.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
lot.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Pagaltzis // http://plasmasturm.org/
* Bill Moseley [EMAIL PROTECTED] [2007-06-17 16:00]:
Is Module::Build recommended over Module::Install?
Is Module::Install recommended?
They’re both flawed and so is ExtUtils::MakeMaker.
Pick your poison. :-)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
=item Item With Bullets
=over 4
=item * Bullets I Want Under Item
=back
=item Regular Item At Original Indentation
=back
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
as a hierarchy in there. As a bonus you
won’t even need to change any of the Audio::MPD code, just add
the dependency and you’re done.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Jerome Quelin [EMAIL PROTECTED] [2007-05-27 18:05]:
On 07/05/27 17:31 +0200, A. Pagaltzis wrote:
I’d suggest Audio::MPD::Item as the distro name, since you’ve
already organised them as a hierarchy in there. As a bonus
you won’t even need to change any of the Audio::MPD code,
just add
better.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Andy Armstrong [EMAIL PROTECTED] [2007-05-22 21:15]:
On 22 May 2007, at 20:08, A. Pagaltzis wrote:
Difficult?
http://search.cpan.org/search?query=CGImode=module
Difficult for people who aren't sure how the search interface
works, certainly.
I do think `mode=module` should
{}` and `plan skip_all` on
failure?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Hi Gabor,
http://use.perl.org/~Alias/journal/32221
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Dominique Quatravaux [EMAIL PROTECTED] [2007-05-16 11:10]:
I'm DOMQ on CPAN, and I'm about to release a new application,
NutsPKI. Problem is, I don't know where to put it on the CPAN,
if at all.
Put it in App::. ’s good enough.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
in
the Finder. If Apple’s approach is comparable to anything in
Unix, it’s /opt/ not /usr/*/.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
not attempt another, because I am obviously incapable of avoiding
biting sarcasm here. (I had to spend long enough to edit the rest
of the mail down to a more productive tone.)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
Justin,
* Justin Mason [EMAIL PROTECTED] [2007-05-11 10:40]:
Is there an easy way to fix this?
I think the right place to ask this would be [EMAIL PROTECTED]
rather than here (although one of the admins may happen to see it
here as well).
Regards,
--
Aristotle Pagaltzis // http
everything from compile time
to runtime.
It’s like the difference between doing
*foo = sub { $bar };
and
my $_bar = quotemeta $bar;
eval sub foo { \$_bar\ };
`eval EXPR` is useful, but a poor substitute for solid
metaprogramming facilities.
Regards,
--
Aristotle Pagaltzis // http
?
Nothing. You got it.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
with a problem, think Gah. Kill
me now, please. Now they have two problems.
Gratuitous.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Ovid [EMAIL PROTECTED] [2007-05-02 12:40]:
Jamie Zawicky
Zawinsky.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Keith Ivey [EMAIL PROTECTED] [2007-05-02 16:10]:
A. Pagaltzis wrote:
* Ovid [EMAIL PROTECTED] [2007-05-02 12:40]:
Jamie Zawicky
Zawinsky.
Zawinski, actually
Gah.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
101 - 200 of 479 matches
Mail list logo