Re: File::ShareDir and development?
Hello, On 2014-04-01 10:03, Gabor Szabo wrote: I use File::ShareDir to locate the shared files installed with the module. How can ensure that it will access the local share directory in the development environment during development/testing/installation and won't try to use the files already installed by a previous version of the module? I bumped into that same problem a while ago, and used an ugly hack to solve it. There might be better ways to work around it, but anyhow, this is as far as I got. Note: I'm using Dist::Zilla and OurPkgVersion plugin, I'm not sure it would work otherwise. This method is in the main package. sub _get_dist_file { my ($self, $file) = @_; if (__PACKAGE__-VERSION) { return File::ShareDir::dist_file('My-Dist-Name-Here', $file); } return share/$file; } Hope it helps. Cheers, André
Re: COMAINT on https://metacpan.org/release/String-Random
On Tue, Dec 03, 2013 at 09:26:33PM +0900, Shmuel Fomberg wrote: On Tue, Dec 3, 2013 at 6:40 PM, Shlomi Fish wrote: In any case, I set up a git/GitHub repository for String-Random here: https://github.com/shlomif/perl-String-Random I used https://metacpan.org/release/App-cpangitify for doing that and then added some commits of my own. Pull requests are welcome there. Shlomi, telling the original author that he is welcome to submit pull requests to your repository is a bit too cocky. Shlomi++ Not only was he really polite with the original author, he is also contributing to the entire Perl community. He wasn't cocky at all! Great example for whoever wants to contribute to an existing un-maintained module. Cheers, André
Re: How to add your avatar to Google search results involving CPAN modules
On Fri, Nov 22, 2013 at 11:16:23AM -0800, Karen Etheridge wrote: On Fri, Nov 22, 2013 at 03:13:27AM +0100, Philippe Bruhat (BooK) wrote: Well, I found the results of the Search distribution form not very good (I think because it only searches in the documentation?) but maybe that's because I'm used to s.c.o's grep utility (which lacks some useful linking back to the file where it found the string). You do know about grep.cpan.me, right? :) Cool! I, for one, didn't know about it :)
Re: New payment module
On Thu, Oct 18, 2012 at 11:04:43AM +0200, Gabor Szabo wrote: On Sun, Oct 14, 2012 at 1:53 AM, André Walker an...@andrewalker.net wrote: So what I'm trying to ask here is whether I should really make a new module (and namespace for more gateways), or just patch Business::OnlinePayments. I know that rewriting the wheel is a bad thing, but sometimes it brings improvements. I also contacted the author, to see what he thinks about this. I am usually in favour of picking up and improving existing modules. We have too many unmaintained modules on CPAN. If after a while you really feel the existing module cannot answer the needs, then create a new one. I agree. I'll give it some more thought for a few days. From what I've seen, it does a slightly different job, and on a lower level than what I'm trying to do. So I might even get some of my drivers to use BOP drivers, who knows? Having a Common Payment Interface sound really nice. Can it be done? What about Maybe Business::CPI ? Sounds better. Thank you! André