::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
. 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/
* 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/
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/
. `perldoc pack`), etc.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
,
--
Aristotle Pagaltzis // http://plasmasturm.org/
programmers will have.
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/
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/
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/
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/
.
You’ve seen Sub::Exporter?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
could immediately guess pretty
well at what it does, even if I didn’t know exactly.
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
the razz smiley. :-)
Regards,
--
Aristotle 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/
* Paul LeoNerd Evans [EMAIL PROTECTED] [2008-07-14 23:20]:
If it still fails, perhaps try
my $object = shift;
my $count = shift;
my $name = shift;
that way it'll remove the ref. from @_ as it goes.
my ( $object, $count, $name ) = @_;
@_ = ();
?
Regards,
--
Aristotle
, 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/
* 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
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
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/
% of that is still a big number.
That is why the CPAN is useful.
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/
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/
://weblogs.mozillazine.org/roadmap/archives/2007/02/threads_suck.html
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
value will be unchanged a long time later.
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/
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/
* 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/
* 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
?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
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/
problematic. Because
ultimately what matters is that things be findable by sticking
the obvious keywords into search.cpan.org. Github::Fork::Parent
is quite acceptable by that criterion.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* O. STeffen BEYer ost...@gmail.com [2009-11-18 13:10]:
One can see from these results that the XS version quite
consistently runs approximately about 15 times faster than the
PP version.
This is flame bait? Why is this flame bait?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
any time soon.
Bah.)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
would have to
be adopted ecosystem-wide.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
multiple processes to operate
on the same database file concurrently.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
. The
program succeeded.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
to get it back. And no, I'm not
going to try again.
How many times have you tried it? Just the once? I’ve done that
dozens of times and never had a problem. It’s *supposed* to work.
If it reproducibly breaks your setup, there’s a bug somewhere
that needs to be fixed.
Regards,
--
Aristotle
-targetted spam every… 1.5 years or so? I guess we’re doing
OK, all things considered. But as I said, it’s a familiar scene
nonetheless.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
operate on user input directly, and the
operation can blow up, you can leave that input unchecked for the
purposes of error reporting.
(You might of course still want to check it for other reasons, eg.
security. That’s a different matter.)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
of the cpantesters setups.
No.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
of a mystery. Hmm.
(Nevertheless, your solution is the correct thing to do, so don’t
go reverting it.)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
of these, really. There should really be a `test_requires`.
However, in absence of that option, what remains to be said is
that both `configure_requires` and `requires` are more wrong than
`build_requires`, so that’s what you should pick for now.
Regards,
--
Aristotle Pagaltzis // http
serious reason against this?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
pointed this out: by first fetching
a transaction log from the remote end, then playing it forward
from the last synch point.
(This is essentially what CPAN::Mini already does.)
It’s not very efficient protocol-wise, but it sure is rather
cheap in terms of server I/O.
Regards,
--
Aristotle
rsync to feed an SQLite database that drives
an FTP transfer? Could you even possibly come up with a more
Rube-Goldbergian construction?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
} for %{mode}ing: %{errno}',
},
);
You’d use that like so:
open my $fh, '', $filename
or throw_io_open file = $filename, mode = 'read', errno = $!;
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
is that you want to avoid a situation where catching
code has to parse the error message.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
selection key would at least preclude the need parse.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* David Golden xda...@gmail.com [2010-05-11 15:40]:
On Tue, May 11, 2010 at 9:04 AM, Aristotle Pagaltzis pagalt...@gmx.de wrote:
* Daniel Pittman dan...@rimspace.net [2010-05-11 05:00]:
Also, the approach Dist::Zilla takes with the
'configure_requires' and 'build_requires' keys is to remove
TraitFor,
or else just appending Role.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
in the
black_magic category.
The ${OS}_only tags only seem haphazard and like a bad place to
put that information… why is there no `vms_only` or such? What if
something works on FreeBSD and Linux but not MacOS? Is MacOS
a true Unix?
It seems like a rather random collection.
Regards,
--
Aristotle
-9
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
/::([^:]*)$/print$1,(,$\/, )[defined
wantarray]/e;chop;$_}
Just-another-Perl-hack;
#Aristotle Pagaltzis // http://plasmasturm.org/
version that didn't match what you created it with. That way
lies madness.
Good point.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Joshua ben Jore twi...@gmail.com [2010-08-09 06:15]:
I'd feel much better suggesting you consider streaming with
YAML or JSON or something hand-rolled but anything but
Storable.
I would strike YAML from that list as well.
Whereas JSON is great.
Regards,
--
Aristotle Pagaltzis // http
* Ovid publiustemp-moduleautho...@yahoo.com [2010-09-10 08:20]:
From: Aristotle Pagaltzis pagalt...@gmx.de
I would write that
my $self = shift;
my ( $name ) = @_;
:-)
(To my way of thinking, the invocant is not a positional
argument, so I always pull it out
* Shawn H Corey shawnhco...@gmail.com [2010-09-10 14:30]:
On 10-09-10 03:02 AM, Eric Wilhelm wrote:
sub foo {
my $self = shift;
my $self = shift @_;
Always put the array in the shift.
Why?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
it happens to be hash-based. Miyagawa and I struggled
with this in writing Hash::MultiValue and eventually he settled
for this: http://p3rl.org/Hash::MultiValue#NOTES_ON_ref.
Perl( 5) just doesn’t really provide semantics for distinguishing
interface from implementation there.
Regards,
--
Aristotle
.”
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Johan Vromans jvrom...@squirrel.nl [2010-09-13 08:05]:
Aristotle Pagaltzis pagalt...@gmx.de writes:
You don’t want to reach inside an object just because it
happens to be hash-based.
Interesting. For Getopt::Long (that can take an optional
hashref as its first argument) I got explicit
for modules with narrower focus.
So I would pick some name in Schedule:: that captures the mission
statement for your module, especially as distinct from the other
modules that already exist. Eg. something like AdaptiveThrottler
(if I skimmed your POD right).
Regards,
--
Aristotle Pagaltzis
until
the work trickles out far enough that people could start relying
on it.
For quite piddly gains, in absolute numbers.
I really don’t see the point. Gzip is Good Enough.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
with very large
bundled data files so one might as well use it for them since the
support exists. I just don’t want to see a campaign against gzip.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Shlomi Fish shlo...@iglu.org.il [2010-11-24 21:05]:
Welcome to 2010.
There are two kinds of fool. One says,
“This is old, and therefore good.” And one says,
“This is new, and therefore better.”
—John Brunner
Regards,
--
Aristotle Pagaltzis
,
--
Aristotle Pagaltzis // http://plasmasturm.org/
.
And note that distributions which ship packages for CPAN modules
are effectively already doing exactly that.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Shlomi Fish shlo...@shlomifish.org [2011-07-29 13:25]:
One reason I have not converted wholesale to metacpan is
because it redirects all http:// requests to https:// . Very
annoying.
http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html
In January this year (2010), Gmail
* Arthur Corliss corl...@digitalmages.com [2011-08-28 19:55]:
On Sun, 28 Aug 2011, Aristotle Pagaltzis wrote:
http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html
In January this year (2010), Gmail switched to using HTTPS for
everything by default. Previously it had been
be interested in whether any omissions mentioned in the
POD are design choices or the idea is to add them in the future,
and which if so.)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
,
--
Aristotle Pagaltzis // http://plasmasturm.org/
remember
off hand, so that nobody is using it in anger).
But more generally your point is a good one.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
make such companies better:
http://robert.ocallahan.org/2006/02/choosing-sides_27.html
http://lists.canonical.org/pipermail/kragen-tol/2011-August/000938.html
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
. And with git, keeping that
extra history around takes no space to speak of. I don’t really see the
point of *not* doing it, considering how little effort it takes with the
tools we have nowadays.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
your a new repo on Github, and then switching
the `origin` URL of your clone to your own repo URL and pushing it.
and that might somehow have negative side-effects.
Nah.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Trystan trysta...@gmail.com [2011-11-06 23:30]:
I found this idea in Head First
OOADhttp://headfirstlabs.com/books/hfooad/, chapter 5. It's
somewhat like a very simple version of Key-Value
documentation to ridiculous commentary like this. Dig deep
and you can probably figure it out.
A lot of them are ignored. A lot of them are not.
--
Aristotle Pagaltzis // http://plasmasturm.org/
and
valuable contributions being totally ignored because their ideas are
not popular.
I *thought* that we had gone beyond this petty stuff. Clearly I was was
wrong.
Pot, kettle.
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Bob Parker b...@perldevgeek.com [2011-11-08 00:30]:
Clearly you are another fanboy of Shlomi's.
You found me out. I am two days short of proposing gay marriage to him.
* Aristotle Pagaltzis pagalt...@gmx.de [2011-11-07 23:50]:
* sawyer x xsawy...@gmail.com [2011-11-07 12:40
.
--
Aristotle Pagaltzis // http://plasmasturm.org/
* yan...@babyl.dyndns.org yan...@babyl.dyndns.org [2011-11-11 22:30]:
On Thu, Nov 10, 2011 at 11:27:04PM +, Neil Bowers wrote:
I think this would still have to be a mechanism that an author has
to sign up to, rather than it automatically being applied.
Considering the nature of CPAN, I
a promise
to maintain the module, which is not the point. OwnershipCovenant is
probably the most accurate, but ugh… Anyway, I’ll put the brush aside.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Brandon Fosdick bfosd...@gmail.com [2011-11-21 06:30]:
Escheat is a common law doctrine which transfers the property of
a person who dies without heirs to the crown or state. It serves
to ensure that property is not left in limbo without recognised
ownership.
That seems morbid, considering
just mentioned vpopmail.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
date-based versions, of course,
and thus a major attraction, but you do retain the same information they
provide (save for the exact age in days, which is meaninglessly precise
in the grand scheme of things).
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
it means “this is stupid or
crazy but in any case inadvisable, yet still funny or cool, and I wanted
to put it out there for people to look at”. And your code would clearly
be out of place in such a category.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
it comes down to a GitHub question (how do I dissociate a fork
from its original repository).
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
syntax has the benefit of being easily balance-checkable
in an editor such as vim.
“Non-programmers” “an editor such as vim”. I see. :-)
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
1 - 100 of 142 matches
Mail list logo