Re: Devel::Callsite is a better instance key than join $;,caller()[1,2]

2008-08-09 Thread Ben Morrow
Quoth [EMAIL PROTECTED] (Ted Zlatanov): > You're probably right. I was thinking as a user of the module (with > Every.pm), thanks for pointing this out. > > From thrtut, it seems that threads->self()->tid() will return the thread > ID, and of course $$ is the PID. Is there a one-liner that will

Re: Devel::Callsite is a better instance key than join $;,caller()[1,2]

2008-08-11 Thread Ben Morrow
Quoth [EMAIL PROTECTED] ("David Nicol"): > On Fri, Aug 8, 2008 at 5:41 PM, Ben Morrow <[EMAIL PROTECTED]> wrote: > > [the interpreter address is] more unique than either pid or > > tid, and actually reflects 'Perl-level thread of control'. >

Re: Module::Install is a time bomb

2008-09-30 Thread Ben Morrow
Quoth [EMAIL PROTECTED] ("David Golden"): > On Tue, Sep 30, 2008 at 10:23 AM, Johan Vromans <[EMAIL PROTECTED]> wrote: > > Michael G Schwern <[EMAIL PROTECTED]> writes: > > > >> Module::Install is the greatest threat to CPAN stability. > > > > So why not get rid of it? > > > > If it does not provi

Re: Module::Install is a time bomb

2008-09-30 Thread Ben Morrow
[just sent to module-authors, as this is hardly a p5p matter any more] Quoth [EMAIL PROTECTED] ("David Golden"): > On Tue, Sep 30, 2008 at 1:53 PM, Ben Morrow <[EMAIL PROTECTED]> wrote: > > I use it both for the declarative syntax and because it allows me to > >

Re: The problem with auto-installing dependencies

2008-09-30 Thread Ben Morrow
Quoth [EMAIL PROTECTED] ("Bill Ward"): > > Since anyone can upload code to CPAN, not all modules are of the same high > quality as others. I feel it is very important to vet each and every module > that I install. But with the auto-install behavior, modules that I want to > install may have dep

Re: Module::Install is a time bomb

2008-10-02 Thread Ben Morrow
Quoth [EMAIL PROTECTED] (Ricardo SIGNES): > * Ken Williams <[EMAIL PROTECTED]> [2008-10-01T21:34:28] > > > > Ricardo: there's no such thing as "installed latest.pm". Please go > > back and read what I wrote above. > > I read and understood what you said. > > Perhaps I should've said, "presumab

Re: overriding ~mumble~latest.pm

2008-10-02 Thread Ben Morrow
Quoth [EMAIL PROTECTED] (Eric Wilhelm): > # from Ben Morrow > # on Thursday 02 October 2008: > > >Being able to install latest.pm[1] and use an installed version > > doesn't help, though. If there's a bug in the section of latest.pm > > that tries to locate

Re: Integrating license related things of CPAN

2008-10-31 Thread Ben Morrow
Quoth [EMAIL PROTECTED] (Shlomi Fish): > On Thursday 30 October 2008, David Cantrell wrote: > > On Wed, Oct 29, 2008 at 11:13:24PM -0500, Ken Williams wrote: > > > On Mon, Oct 27, 2008 at 11:17 AM, David Cantrell <[EMAIL PROTECTED]> > wrote: > > > > So, in summary, here's my objections to the > >

Re: META.yml how to declare the need for threaded perl?

2008-11-01 Thread Ben Morrow
Quoth [EMAIL PROTECTED] (Nicholas Clark): > On Fri, Oct 31, 2008 at 06:16:01PM -0500, Chris Dolan wrote: > > Just add a dependency on thread::shared or one of the other threading > > libraries. Push your problem up the chain! > > No, not threads::shared > > $ /home/nclark/Sandpit/588ish/bin/p

Re: The value of threads

2008-11-02 Thread Ben Morrow
Quoth [EMAIL PROTECTED] ("David Golden"): > On Sat, Nov 1, 2008 at 8:31 PM, Dr.Ruud <[EMAIL PROTECTED]> wrote: > > C > > :) > > Given that the original post was about Padre -- a multi-platform IDE > for Perl -- forks may not be the best choice due to platform > differences. Even if suboptimal, P

Re: Module Proposal: Video::FourCC

2009-01-10 Thread Ben Morrow
Quoth da...@cantrell.org.uk (David Cantrell): > On Sat, Jan 10, 2009 at 07:41:22PM -0500, Jonathan Yu wrote: > > On Fri, Jan 9, 2009 at 12:57 PM, nadim khemir wrote: > > > 3/ don not put all your data in the module. Although this module is very > > > specific and unlikely to be loaded with a lot

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

2009-01-14 Thread Ben Morrow
Quoth rgarciasua...@gmail.com ("Rafael Garcia-Suarez"): > > Dunno. Does Windows 7 implement symbolic links ? I think that's > unlikely. Windows has had symlinks (and hard links) when using NTFS since at least Win2k, but they aren't much used and there isn't any libc support (also, Explorer tends

Re: Module Proposal: Video::FourCC

2009-01-14 Thread Ben Morrow
Quoth jonathan.i...@gmail.com ("Jonathan Yu"): > All: > > I like the idea of using SQLite because it's small, runs on most > operating systems and fast. It's also got less memory overhead, which > is certainly a good thing. > > However, with respect to using File::ShareDir; the module finds the

Re: On 'unpack()' - How much did I eat?

2009-04-21 Thread Ben Morrow
Quoth r...@ringlet.net (Peter Pentchev): > On Tue, Apr 21, 2009 at 10:24:10AM +0100, Paul LeoNerd Evans wrote: > > I find lately I've been doing a lot of binary protocol work, taking > > messages that live in TCP streams or files or similar, and doing lots of > > pack()/unpack() on them. > [snip] >

Re: On 'unpack()' - How much did I eat?

2009-04-22 Thread Ben Morrow
Quoth leon...@leonerd.org.uk (Paul LeoNerd Evans): > -=-=-=-=-=- > > On Wed, Apr 22, 2009 at 02:10:03AM +0100, Ben Morrow wrote: > > What am I missing here? It appears to me unpacking "." gives the current > > byte position in the string, which is what is needed.

Re: Configuration files and ExtUtils::MakeMaker

2009-04-28 Thread Ben Morrow
Quoth mose...@hank.org (Bill Moseley): > On Tue, Apr 28, 2009 at 06:56:04PM -0400, Hans Dieter Pearcey wrote: > > On Tue, Apr 28, 2009 at 03:52:18PM -0700, Bill Moseley wrote: > > > What's the best way to setup my package and Makefile.PL to place the > > > config files in a package-specific directo

Re: Getopt::Auto improvements

2009-06-29 Thread Ben Morrow
Quoth ge...@hughes.net (Geoffrey Leach): > I'd appreciate some advice here. > > Getopt::Auto was conceived by Simon Cozens. I've recently adopted it. > > The idea with Getopt::Auto is that it scans your POD looking for =heads > or =item that have the format: 'foo - what this does is bar', the >

Re: How to best detect availability of C compiler in Makefile.PL?

2009-11-03 Thread Ben Morrow
[sorry, I cc'd the wrong address... corrected.] At 10AM +0100 on 3/11/09 you (O. STeffen BEYer) wrote: > 2009/11/3 Ben Morrow > > Instead, just assume the default answer > > > *without* stopping, and use an environment variable to allow the user to > > tweak the an

Re: flame bait: execution speed Perl vs. C (Date::Calc::PP vs. Date::Calc::XS)

2009-11-20 Thread Ben Morrow
Quoth enoba...@gmail.com (Eric Wilhelm): > # from Jonathan Rockway > # on Thursday 19 November 2009 07:06: > > >The real reason for the lack of another Perl VM is that Perl > > programmers are very, very lazy.  ;) > > In this case, you mean 'perl' programmers. :-D > > I seem to recall that we ha

Re: Test-only code

2009-12-22 Thread Ben Morrow
Quoth ge...@hughes.net (Geoffrey Leach): > I'm working on a new release of Getopt::Auto. There's a fair amount of > code in the module that applies only to the tests. It would be nice if > that code was not in the installed module. Any suggestions? Given that Perl allows you to put code in any p

Re: Registering a file as failed if it prompts for user input

2010-03-01 Thread Ben Morrow
Quoth jkee...@cpan.org: > As part of our project to refactor ExtUtils::ParseXS, I am in the > process of building functionality to identify CPAN distributions that > contain .xs files and to run 'perl Makefile.PL && make' (or their > Module::Build equivalents) on those distributions. > > At thi

Re: Automating installation of a C library

2010-03-02 Thread Ben Morrow
Quoth cr...@animalhead.com: > Hi module authors, > > I'm working on a module that has an accompanying script that can > be scheduled (cron'ed on Unix/Linux) to update its database from > the internet. The biggest problem with this, that is not covered by > LWP, > is that of proxies. > > I know

Re: ... is just needed temporarily during building or testing. Do you want to install it permanently (y/n) [yes]

2010-03-09 Thread Ben Morrow
Quoth xsawy...@gmail.com (sawyer x): > -=-=-=-=-=- > > On Tue, Mar 9, 2010 at 11:37 AM, Gabor Szabo wrote: > > > CPAN.pm is configured to automatically follow prerequsites but it > > still stops and ask the question > > > > ... is just needed temporarily during building or testing. Do you want >

Re: Advice on new module

2010-03-23 Thread Ben Morrow
Quoth kemm...@nkcsd.k12.mo.us ("Kyle Emmons"): > Hello module authors, > > I am preparing a new module for upload to CPAN. Currently it is named > Net::PJLink, as it is an implementation of the PJLink network protocol > (used for controlling multimedia projectors). However, I read the > warning at

Re: how to give a list of alternative requirements?

2010-03-27 Thread Ben Morrow
Quoth szab...@gmail.com (Gabor Szabo): > > I am trying to create a Makefile.PL using Module::Install for Bugzilla so > it can be uploaded to CPAN. There are many issues I'll have to deal with but > here is one that might be relevant to others. > > Currently Bugzilla can be installed with either M

Re: /usr/local/lib vs. /usr/local/share

2010-04-12 Thread Ben Morrow
Quoth mose...@hank.org (Bill Moseley): > > I just fetched Template Toolkit from CPAN and manually ran Makefile.PL and > make install which installed into /usr/local/lib/perl/5.10.0. It included > Template::Plugin::HTML. > Running "make install" reported: > > Installing /usr/local/lib/perl/5.10.0

Re: Conditional dependencies

2010-06-29 Thread Ben Morrow
Quoth matt.t.gr...@gmail.com (Matt Grimm): > What is the conventional wisdom (if any) for handling conditional > dependencies in modules? > > For example, I have a logger class wrapped around Log4perl that > supports screen, email, and syslog appenders, and each appender can be > individually togg

Re: Advice for Module Namspace (Net::CLI vs CLI ...)

2010-07-06 Thread Ben Morrow
Quoth ludovicostev...@free.fr (Ludovico Stevens): > > I have recently registered on PAUSE and have a module to upload to CPAN; > I need some advice on the Name Space to use. > > I work with Ethernet switches & routers and I use Perl scripts to > automate tasks via the CLI (Command Line Interfac

Re: Which Build Module?

2010-07-13 Thread Ben Morrow
Quoth enoba...@gmail.com (Eric Wilhelm): > # from James E Keenan > # on Monday 12 July 2010 16:08: > > >Agreed. �In research I did on CPAN modules that contain XS, > >ExtUtils::MakeMaker was still used 10 times as often as Module::Build. > > It seems like authors lean toward EU::MM for XS because