Re: Exporter and subroutine circular dependencies between modules

2022-03-13 Thread Shawn H Corey
On 2022-03-13 18:44, Diab Jerius wrote: I prefer yet another fashion (everything is driven by what's in %EXPORT_TAGS), but back to the point of the OP's problem, this doesn't initialize @EXPORT until runtime, so I think will have the same issue (I'm away from keyboard at the moment). Each

Re: Exporter and subroutine circular dependencies between modules

2022-03-13 Thread Shawn H Corey
On 2022-03-13 18:08, Diab Jerius via module-authors wrote: require Exporter; our @ISA    = qw( Exporter ); our @EXPORT    = qw( foo ) I prefer this way: # -- # Exports use  Exporter  qw( import ); our @EXPORT  = qw( foo ); our @EXPORT_OK

Re: Is Sort:Naturally a Little Off?

2021-09-25 Thread Shawn H Corey
On 2021-09-25 4:29 a.m., Smylers wrote: So it appears that en_CA.utf8 and en_GB.utf8 sort ‘a’ and ‘A’ the opposite way round to each other. I wonder why. (Not relevant to any bug in Sort::Naturally, but it's now intriguing me.) I tried en_US.utf8 and en_AU.utf8. They both follow en_GB.utf8. en

Re: Is Sort:Naturally a Little Off?

2021-09-25 Thread Shawn H Corey
Setting LC_ALL=C gives the Unicode sequence for Perl's sort but Sort::Naturally still does not seem correct: LC_ALL=C ./sort-test.pl unsorted  : 4 A X i 1 x 10 a B ä y z į C Ä b c Į Y Z än and ÄND And Any ant Äm Äs no locale,  perl  : 1 10 4 A And Any B C X Y Z a and ant b c i

Re: Is Sort:Naturally a Little Off?

2021-09-25 Thread Shawn H Corey
On 2021-09-25 3:01 a.m., Smylers wrote: That does look odd. Which locale are you running this under, which version of Perl, and which version of Sort::Naturally? Also, when I first ran your script I initially got lots of: Wide character in say at ./naturally line 23. Adding this made Perl e

Is Sort:Naturally a Little Off?

2021-09-24 Thread Shawn H Corey
I was testing different sort routines and I think I stopped a bug in Sort::Naturally (see attached script). It's output is: unsorted  : 4 A X i 1 x 10 a B ä y z į C Ä b c Į Y Z än and ÄND And Any ant Äm Äs no locale,  perl  : 1 10 4 A And Any B C X Y Z a and ant b c i x y z Ä

Re: Phishing Attempt

2020-07-19 Thread Shawn H Corey
On 2020-07-19 9:23 a.m., Dominique Quatravaux wrote: Did you reuse passwords in any way, shape or form? If so, now would be a good time to change them. Otherwise it doesn't matter all that much. I have a different password for every website, so I'm not too worried.

Phishing Attempt

2020-07-19 Thread Shawn H Corey
I just got a email titled: You are logged in in total 28 time in 90days on Chrome device Gmail has flagged it as spam. It says I logged into cpan.org using Chrome on Windows. I don't use Chrome or Windows. Has anyone else received such a message?

Re: Perl 5.26 and the . in INC issue where modules won't install

2018-11-01 Thread Shawn H Corey
7;s modules go here FindBin is a standard module. For a list of standard modules, see `perldoc perlmodlib` https://perldoc.perl.org/perlmodlib.html -- Don't stop where the ink does. Shawn H Corey

Re: [RANT] Should we try to keep compatibility with old perl5s?

2018-08-12 Thread Shawn H Corey
x27;s in CPAN, people feel it should run in all versions of Perl, even 5.6 -- Don't stop where the ink does. Shawn H Corey

Re: Is META.yml Necessary Anymore?

2015-10-25 Thread Shawn H Corey
On Sun, 25 Oct 2015 14:38:32 +0100 Aristotle Pagaltzis wrote: > * Dominique Dumont [2015-10-25 12:30]: > > Debian uses the information from META to create and refresh Perl > > package in Debian format. > > > > More specifically, the tool used to create and refresh package > > (dh-make-perl [1])

Re: Please Give me Comaint on https://metacpan.org/release/gettext

2015-09-18 Thread Shawn H Corey
On Fri, 18 Sep 2015 12:14:23 +0300 Shlomi Fish wrote: > While I'm in the neighbourhood, I'd like to ask whether you'll agree > to change the licence of "gettext" to a better one such as the > Artistic 2.0 licence or to the MIT/X11 licence. See: Isn't gettext part of GNU? https://www.gnu.org/sof

Re: [Request for Comments] How to properly handle three-dotted-decimals $VERSIONS (e.g '0.0.7') of .pm files and distributions?

2015-06-01 Thread Shawn H Corey
On Mon, 01 Jun 2015 21:07:34 +0200 Dominique Dumont wrote: > On Monday 01 June 2015 12:48:26 Daniel Staal wrote: > > They mean what they mean to the author of the code. *Many* > > projects use MAJOR.MINOR.REVISION, where 'Major' is API/User > > interface changes, 'Minor' is features and small ch

Re: Curating old dists on CPAN

2015-04-30 Thread Shawn H Corey
On Fri, 01 May 2015 09:02:08 +1000 Dean Hamstead wrote: > Emailing the authors of modules who's last release was 10+ years ago > seems like a sensible first step. Especially if there is a clear list > of next steps (i.e. give it up for adoption). Possibly this should be > a normal part of PAUSE.

Re: Broken CPAN Modules

2014-09-16 Thread Shawn H Corey
On Tue, 16 Sep 2014 19:38:54 -0400 James E Keenan wrote: > I just used perlbrew to upgrade my everyday perl to 5.20.1. I then > used cpanm to install Catalyst, Catalyst::Runtime and Dancer. > > No problems whatsoever. Yeah, it all seems to be problems with the mirrors. :( -- Don't stop wher

Re: Broken CPAN Modules

2014-09-16 Thread Shawn H Corey
-O2 -Duseshrplib '-Dcf_by=Shawn H Corey' -Dcf_email=shco...@cpan.org > What version was it? perl-5.20.0 > How was the new one built? perlbrew --force install perl-5.20.1 -Dusethreads -Duselargefiles -Duse64bitall -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dpage

Re: Broken CPAN Modules

2014-09-16 Thread Shawn H Corey
On Tue, 16 Sep 2014 15:09:53 -0700 Karen Etheridge wrote: > On Tue, Sep 16, 2014 at 05:44:44PM -0400, Shawn H Corey wrote: > > I just upgrade my Perl to 5.20.1 and tried to load my favourite > > modules. Why is it that modules that worked in previous versions > > won&

Broken CPAN Modules

2014-09-16 Thread Shawn H Corey
I just upgrade my Perl to 5.20.1 and tried to load my favourite modules. Why is it that modules that worked in previous versions won't work in the new one? Moose has unresolved dependencies. Dist::Zilla has unresolved dependencies. Tk i won't compile. It can't even find Git. How would anyone expe

Re: Proposal For A Module To Generate Regular Expressions

2013-08-05 Thread Shawn H Corey
On Mon, 05 Aug 2013 11:45:52 -0500 Brian Katzung wrote: > Good point. I read the OP's example and understood it to be > case-insensitive, but even having seen it spelled out still didn't > protect me from forgetting the detail (a "broken understanding") > later. :-) Having it spelled out is su

Re: Proposal For A Module To Generate Regular Expressions

2013-08-04 Thread Shawn H Corey
On Sun, 04 Aug 2013 14:13:59 -0500 Brian Katzung wrote: > That's an interesting idea, but I'm not sure you're accomplishing > your stated goals. Consider that the RE /^\s*test\s*$/ is 14 > characters and you've coded it in 91 non-white-space characters (650% > of the original size). The differen

Re: Proposal For A Module To Generate Regular Expressions

2013-08-04 Thread Shawn H Corey
On Sun, 4 Aug 2013 18:03:51 +0200 Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: > This would be better in the Regexp top level namespace instead of > occupying its own: I chose the short name so it would be remembered. Long names aren't. -- Don't stop where the ink does. Shawn

Proposal For A Module To Generate Regular Expressions

2013-08-04 Thread Shawn H Corey
I have started a Module I call REG (Regular Expression Generator) and placed it in github (see below). The idea is to create REs by called descriptive methods which generate the appropriate RE. For example, to create a RE to match the word test in a string: my $re_test = REG->string_begin()

Re: Broken compilers, ignore or ???

2012-09-04 Thread Shawn H Corey
On Tue, 04 Sep 2012 14:40:01 +0100 "Martin J. Evans" wrote: > Has anyone else come across something like this and what did they do? Not with gcc but with an older cross-compiler. Since then, I have always put increments and decrements in their own statements. -- Just my 0.0002 million dol

Re: Test cases when some module functionality requires a login

2012-08-06 Thread Shawn H Corey
On Mon, 6 Aug 2012 13:35:39 +0100 "Stephen Patterson" wrote: > I'm writing a module which does some screen-scraping on a mostly open > website, but some of the functionality is restricted to registered > users. For completeness, I'd like to add my username & password for > testing but not include

Re: sudo in Const::Fast

2012-07-19 Thread Shawn H Corey
On 12-07-19 01:07 PM, Smylers wrote: Please can you run: $ cpan -J | grep sudo 'mbuild_install_build_command' => 'sudo ./Build', 'make_install_make_command' => 'sudo /usr/bin/make', and: $ env | egrep -i 'perl|sudo' MANPATH=/home/shawn/perl5/perl

Re: sudo in Const::Fast

2012-07-19 Thread Shawn H Corey
On 12-07-19 11:34 AM, Smylers wrote: Do you have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there any lines mentioning sudo in there? No, none. The only config files that have it are: ./perlbrew/build/perl-5.16.0/cpan/CPANPLUS/lib/CPANPLUS/Config.pm ./perlbrew/build/perl-5.16.0/lib/CPAN

Re: sudo in Const::Fast

2012-07-19 Thread Shawn H Corey
On 12-07-19 10:43 AM, Leon Timmermans wrote: On Thu, Jul 19, 2012 at 1:38 AM, Shawn H Corey wrote: I tried installing Const::Fast and it runs sudo. Why is such a blatant security risk in a CPAN module? And are there more? Like others have already said, I'm not using sudo in Const::Fas

Re: sudo in Const::Fast

2012-07-18 Thread Shawn H Corey
On 12-07-18 07:12 PM, John M. Gamble wrote: which uses sudo to install the module The point is that sudo should _never_ be used inside any module or script. Ever! -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about

Re: sudo in Const::Fast

2012-07-18 Thread Shawn H Corey
On 12-07-18 06:44 PM, Matthew Musgrove wrote: I'm sure Leon will pipe in soon but in the mean time, what version did you install and how? The only use of sudo I see in Const-Fast-0.011 is in the INSTALL text file. $ cpan Const::Fast CPAN: Storable loaded ok (v2.35) Reading '/home/shawn/.local/s

sudo in Const::Fast

2012-07-18 Thread Shawn H Corey
I tried installing Const::Fast and it runs sudo. Why is such a blatant security risk in a CPAN module? And are there more? -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. _Perl links_ official site

Re: The CPAN Covenant

2011-11-17 Thread Shawn H Corey
On 11-11-17 01:37 PM, Bill Ward wrote: Sounds good to me ... I hereby accept this covenant for the modules I maintain, present and future, until such time as I indicate otherwise in email to modu...@perl.org Now, did you update all your modules? -- Just my 0.0002

Re: The module authors pledge

2011-11-10 Thread Shawn H Corey
On 11-11-08 11:22 AM, Neil Bowers wrote: One of the problems I see with CPAN is that there are many modules which have been left unattended. Many of these have outstanding bugs, and a good number have patches and forked versions, some of which you can find on RT. You'll also find people offering

Re: Looking for Sean Burke

2011-11-04 Thread Shawn H Corey
On 11-11-03 08:37 PM, Neil Bowers wrote: I've tried contacting him a number of times, usingsbu...@cpan.org, and via interglacial.com, but that has gone dark. I do believe he's retired. From Pod::Simple::README https://metacpan.org/source/DWHEELER/Pod-Simple-3.19/README =head1 Author Pod::S

Perl/Tk XKeycodeToKeysym Bug

2011-08-15 Thread Shawn H Corey
How do I go about getting this fixed? The bug was first reported in Nov'10 and the patch existed since Feb'11 but it's still present. How can I get the changes into CPAN? -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as mu

Re: Is rt.cpan.org down?

2011-08-14 Thread Shawn H Corey
On 11-08-14 07:33 AM, Jonathan Yu wrote: On Sat, Aug 13, 2011 at 10:08 AM, Shawn H Corey wrote: My browser just times out. Is the site down? For future reference, this site is handy for this purpose: http://www.downforeveryoneorjustme.com/ ping rt.cpan.org I know it's down, the

Is rt.cpan.org down?

2011-08-13 Thread Shawn H Corey
My browser just times out. Is the site down? -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate sof

Can't compile Tk

2011-08-12 Thread Shawn H Corey
I've installed perlbrew and perl-5.14.1 but I can't install Tk. I get this: cc -c -I.. -I. -Ibitmaps -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT S=64 -O2 -DVERSION=\"804.029\" -DXS_VERSION=\"804.029\" -fPIC "-I/home/shawn/perl5/

Re: MetaCPAN is quickly becoming the de-facto interface to CPAN

2011-07-29 Thread Shawn H Corey
On 11-07-29 07:58 AM, sawyer x wrote: Most of what we do online is private. Not "I want to hide this because it's illegal" private, but "this is personal, so mind your own business" private. How about? "This is professional; I don't want my client's competetion knowing what I'm researching."

Re: Problems with cpan

2011-04-03 Thread Shawn H Corey
On 11-04-03 03:48 PM, Dave Rolsky wrote: Of course, if you're not using the system Perl, then you're kind of stuck. Yeah, it looks that way. My system Perl is v5.10. I wanted to play around with v5.12 but it all seems hit and miss. Sigh. -- Just my 0.0002 million dollars worth, Sha

Re: Problems with cpan

2011-04-03 Thread Shawn H Corey
On 11-04-03 03:23 PM, sawyer x wrote: -lperl means the perl development library. Check for libperl-dev on Debian/Ubuntu. Sigh. Now it can't `make test`: Running make test PERL_DL_NONLAZY=1 /home/shawn/lib/perlbrew/perls/perl-5.12.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl

Re: Problems with cpan

2011-04-03 Thread Shawn H Corey
On 11-04-03 02:15 PM, sawyer x wrote: Once you have those, the module will be able to compile against them. Now I'm getting this: LD_RUN_PATH="/usr/lib" cc -L../magick/.libs -lMagickCore -shared -O2 -L/usr/local/lib -fstack-protector Magick.o -o blib/arch/auto/Image/Magick/Magick.so \

Problems with cpan

2011-04-03 Thread Shawn H Corey
Could someone tell me how to fix this? $ cpan -i Image::Magick CPAN: Storable loaded ok (v2.25) Going to read '/home/shawn/.local/share/.cpan/Metadata' Database was generated on Sat, 02 Apr 2011 19:34:27 GMT Running install for module 'Image::Magick' Running make for J/JC/JCRISTY/PerlMagick-6.6

Re: Interesting licensing requires written permission of the author to modify it

2011-03-14 Thread Shawn H Corey
On 11-03-14 04:42 PM, Dominique Dumont wrote: Le lundi 14 mars 2011 16:22:22, Gabor Szabo a écrit : To be on the safe side I decided to not even try the code so I won't need to look at it which might break the license. What do you think? Well, if you look at the source code, you see that abhi

Re: How to specify a data file location for tests

2011-03-04 Thread Shawn H Corey
On 11-03-04 01:54 AM, Zbigniew Lukasiak wrote: my $psgi_file = File::Spec->catfile( 't', 'app.psgi' ); I thought the tests were done in the t directory. If so, then the file its looking for would be: t/t/app.psgi -- Just my 0.0002 million dollars worth, Shawn Confusion is the first

Re: How to import Foo::Bar::mysub when caller writes 'use Foo qw(mysub)'?

2011-01-16 Thread Shawn H Corey
On 11-01-16 03:03 PM, David Christensen wrote: Bonus question: use Fooqw( :all ); What is the best way to accomplish the goal? Fill in @EXPORT and @EXPORT_OK as needed. # -- # Exports use base qw( Exporter ); our @EXPORT = qw( ); our @EXPORT_

Re: Discussion question: what is the best syntax for documenting a coderef parameter?

2010-12-07 Thread Shawn H Corey
On 10-12-07 06:00 PM, Bruce Gray wrote: In such a case, the C<$retry->()> style is quite helpful. It may take a new user a few extra seconds to understand, but that initial cost pays off over the rest of the document. I use the \& even where it's not valid Perl: =head1 USAGE ( \&iterator, \

Re: What hurts you the most in Perl?

2010-12-02 Thread Shawn H Corey
On 10-12-02 11:36 AM, Dana Hudes wrote: In re the hashref vs list argument the motivation forme is that I gain very little from using Perl's parameter prototyping. Indeed we have modules such as Params::Validate because others feel the same way. Perl is a weakly typed language. It doesn't have

Re: What hurts you the most in Perl?

2010-11-26 Thread Shawn H Corey
On 10-11-26 11:20 AM, Todd Rinaldo wrote: I love the fork module. It's great how it's a drop in replacement for the threads module. It allows me to easily swap over to threads when I move code over to a machine that can use threads. I very much wish, however, that forks could get a return variab

Re: my $self = shift

2010-09-18 Thread Shawn H Corey
On 10-09-18 05:05 PM, Bill Ward wrote: If that's your attitude, Perl is probably not the best language for you... context is everything in Perl. Context on the same line is easy to remember. Context shifts that happen many lines ago are not so easy. Things that behave differently should loo

Re: my $self = shift

2010-09-13 Thread Shawn H Corey
On 10-09-13 01:16 PM, Jonathan Yu wrote: Well, you know what they say: Try It And See. I thought that was: TITS (Try It To See) -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it

Re: my $self = shift

2010-09-13 Thread Shawn H Corey
On 10-09-13 07:50 AM, Nadim Khemir wrote: I'm curious, someone care to comment? I'm surprised that a specialized variable like @_ is not optimized for shift. All that is needed is to more the pointer to the next item in the array. The space used by the previous first item need not be recov

Re: my $self = shift

2010-09-12 Thread Shawn H Corey
On 10-09-12 04:58 PM, Aristotle Pagaltzis wrote: * Shawn H Corey [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, So you will never have experienced Perl

Re: my $self = shift

2010-09-10 Thread Shawn H Corey
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. -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to grea

Re: Please advise before I submit to CPAN

2010-09-09 Thread Shawn H Corey
On 10-09-09 02:43 PM, David Nicol wrote: So whenever anyone says "a Perl object is a blessed reference" they're speaking procedurally, not descriptively. Descriptively, a Perl object is a reference to a blessed thingy. (I think that's correct terminology, please correct if wrong) Yes, Perl is

Is CPAN down?

2010-08-22 Thread Shawn H Corey
I've been trying to install a module from CPAN but it's not responding. Is it down? Is the a scheduled event that I missed? -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to great software:

Re: famouswhy?

2010-05-13 Thread Shawn H Corey
On 10-05-13 10:34 AM, David Nicol wrote: Is everyone getting notifications from famouswhy today concerning things on CPAN, or did my "famous" module actually go though some kind of nomination and confirmation process? I don't know if I should be proud or annoyed. Probably scared. Did it inclu

Re: Name space discussion Math::BestRotation

2010-01-31 Thread Shawn H Corey
Lutz Gehlen wrote: > Hello everybody, > I have developed a module that computes the best rotation that maps > a set of vectors onto another set of vectors. "Best rotation" means > here that it minimizes the sum of the squared distances between each > two corresponding vectors. > > The working t

Re: Can't cpan WWW::Mechanize

2010-01-13 Thread Shawn H Corey
Aristotle Pagaltzis wrote: > 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. Agreed. Go and find it. I got too much to do

Re: Can't cpan WWW::Mechanize

2010-01-13 Thread Shawn H Corey
Rene Schickbauer wrote: > Do you have a current version of the CPAN modules installed? Try > >> install Bundle::CPAN > > And restart your shell. No, thanks. Last time I did that cpan never work again. I had to re-install the old version to get it back. And no, I'm not going to try again. --

Re: avoid running CPAN as root

2010-01-12 Thread Shawn H Corey
Dana Hudes wrote: > Rebuilding a few hundred modules will take more than 15 minutes, especially > if you have to download each one. I suppose you could modify sudoes to make > it 8 hours. Once you start cpan with sudo, it will continue to run until you quit. Any program started with sudo runs a

Re: Can't cpan WWW::Mechanize

2010-01-11 Thread Shawn H Corey
David Cantrell wrote: > Either because you've not configured CPAN.pm to follow dependencies > automatically, or because it did try to download and install that module > but it failed its tests. > > To check the former ... > $ perl -MCPAN -e shell > > o conf prerequisites_policy > > if it says

Re: Can't cpan WWW::Mechanize

2010-01-10 Thread Shawn H Corey
Jonas Brømsø Nielsen wrote: > Hi Shawn, > > Did you use the CPAN shell? > > Could you please include some diagnostics $ sudo cpan ... (blah blah blah) cpan> install WWW::Mechanize ... (blah blah blah) t/cookies.t .. Can't locate HTTP/Server/Simple/CGI.pm in @INC (@INC contains: t/ /h

Re: Can't cpan WWW::Mechanize

2010-01-10 Thread Shawn H Corey
Jonas Brømsø Nielsen wrote: > Hi Shawn, > > It sounds like you are installing it manually? There's another way? > > If you are using the CPAN client it would be installed automatically unless > there is a bug in the WWW::Mechanize requirement specification. In other words, fill in a bug repor

Can't cpan WWW::Mechanize

2010-01-10 Thread Shawn H Corey
When I try to install WWW::Mechanize, I get: t/cookies.t .. Can't locate HTTP/Server/Simple/CGI.pm in @INC (@INC contains: t/ /home/shawn/.cpan/build/WWW-Mechanize-1.60-0tJ38m/blib/lib /home/shawn/.cpan/build/WWW-Mechanize-1.60-0tJ38m/blib/arch /etc/perl /usr/local/lib/perl/5.10.0 /usr

Re: Module uploaded - whats next?

2009-12-11 Thread Shawn H Corey
Rene Schickbauer wrote: > OBut i have one critic to add anyway: There is ONE argument in this > discussion that is just stupid: "There are X books on the subject so > this way is better". A "books only" search for "Microsoft Frontpage" on > Amazon.com turned up 3088 results - surely you wont sugges

Re: how to set $VERSION throughout distribution

2009-09-13 Thread Shawn H Corey
Burak Gürsoy wrote: Indeed. I also don't like $VERSION = localtime() stuff like $VERSION = 20090913.foo thingies. Just nonsense. I use the three number form: $VERSION = q(v1.2.3); '1' is the major version number; it only changes when the API changes. '2' is the minor version number; it chan

Re: how to set $VERSION throughout distribution

2009-09-13 Thread Shawn H Corey
Jonas Brømsø Nielsen wrote: I agree with Chris here. And the idea is not to have main package version drifting from distribution version or the other way around. jonasbn On 13/09/2009, at 15.18, Chris Dolan wrote: On Sep 13, 2009, at 7:36 AM, Shawn H Corey wrote: Jonas Brømsø Nielsen

Re: how to set $VERSION throughout distribution

2009-09-13 Thread Shawn H Corey
Jonas Brømsø Nielsen wrote: dist_name => 'Workflow', dist_version_from => 'lib/Workflow.pm', I would be tempted to: dist_version_from => 'lib/Workflow/VERSION.pm', Comments? -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization an

Re: `cpan` error in Writing Makefile

2009-09-11 Thread Shawn H Corey
Andreas J. Koenig wrote: Try 'o conf init' and answer all the questions carefully. Did that; chose different mirrors but selected the default for everything else; now works. The strange thing is I just had to re-install my OS and this behavior is straight out of the box. > Also, who do

`cpan` error in Writing Makefile

2009-09-11 Thread Shawn H Corey
Hi, When I try to install with cpan, I get this error: CPAN.pm: Going to build P/PE/PETDANCE/Module-Starter-1.52.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Module::Starter -- NOT OK What does it mean and how can I fix it? Also, who do I complain to about

Re: Scope::Guard and End

2009-08-22 Thread Shawn H. Corey
Jonathan Yu wrote: I've noticed these two modules (Scope::Guard and End) are similar in their nature, purpose and inner workings. I'm curious if you two knew about the others' module prior to creating their own. I'd say since the end goal looks the same, combined maintenance of a single package w

Re: Anomaly in Build test

2009-08-21 Thread Shawn H. Corey
Andy Lester wrote: I think that one is using -w and the other is not. Add a -w and see what happens. You're right, `prove -l -w` creates the same warnings. How to figure out what to do about it. :) -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organiza

Re: Anomaly in Build test

2009-08-21 Thread Shawn H. Corey
Daniel Staal wrote: Are there any differences between your /lib/ directory and your /blib/ directory? Yes, plenty. But all the tests are in t/ $ ls -l lib/ blib/ blib/: total 20 drwxr-xr-x 2 shawn shawn 4096 2009-08-21 09:23 arch drwxr-xr-x 2 shawn shawn 4096 2009-08-21 09:23 bindoc drwxr-xr

Anomaly in Build test

2009-08-21 Thread Shawn H. Corey
Hi, When I run `prove -l` on my module, everything is fine. But when I run `Build test`, I get a warning. Why is there a difference? $ prove -l t/00-load...1/1 # Testing Sub::Starter v1.0.6, Perl 5.008008, /usr/bin/perl t/00-load...ok t/01-parse_usageok t/02-gen-usage.

Re: Instructing Authors How to Resolve the World-writable Files Found

2009-08-20 Thread Shawn H. Corey
Shlomi Fish wrote: This is the second time someone asks this question. Instead of just telling the user that they have a problem, why don't we also tell them how to solve it? Actually I like answering the same question over and over. That way I can look really smart with no effort (except fo

Re: Renaming a perl module/dist

2009-08-11 Thread Shawn H. Corey
Paul LeoNerd Evans wrote: I have a one-module dist that I'd like to rename. How problematic will this be? How many people are using it? Would they be upset if you changed the name? Don't forget, when you place a module in CPAN, it is no longer entirely yours. People have invested time to

Re: Getting ready for CPAN

2009-08-02 Thread Shawn H. Corey
Jonathan Yu wrote: just the pm files and tarball So I have to maintain two names for my modules, one for CPAN and one for git. At least I don't have to chew bubblegum and walk at the same time. :) Now my little tarball shell script has become sophisticated enough to redo it in Perl. Ah we

Re: Getting ready for CPAN

2009-08-02 Thread Shawn H. Corey
Jonathan Yu wrote: On Sun, Aug 2, 2009 at 9:49 AM, Shawn H. Corey wrote: Here is a copy of my MANIFEST. Is there anything missing? Build.PL Changes MANIFEST README lib/Sub/Starter.pm script/substarter t/00-load.t t/01-parse_usage.t t/02-usage.t t/03-sub.t t/04-pod.t t/pod-coverage.t t/pod.t

Getting ready for CPAN

2009-08-02 Thread Shawn H. Corey
Hi, I have a module, Sub::Starter, which I have prepared for CPAN. I think I have all the right goodies in the right places. But I am worried that I might be missing something important. And yes, I read the documentation, that is, what I could find. The thing is that documentation isn't a

Re: Help understanding module-starter aka Module::Starter

2009-07-30 Thread Shawn H. Corey
Andy Lester wrote: Maybe it's old and outdated, and the stuff it's looking for no longer shows up in the default modules. The point was that if the default module had "YOUR NAME HERE", t/boilerplate.t would make sure that you do NOT still have "YOUR NAME HERE" in the code. Well, it looks

Re: Help understanding module-starter aka Module::Starter

2009-07-30 Thread Shawn H. Corey
Andy Lester wrote: It fails if you haven't modified certain parts of the starter module. It's meant to be thrown away once you get it passing. Huh? I don't remember changing anything and it passes. How come? -- Just my 0.0002 million dollars worth, Shawn Programming is as much abo

Help understanding module-starter aka Module::Starter

2009-07-30 Thread Shawn H. Corey
Hi, I'm preparing a module for CPAN and I used module-starter to set it up. I think I understand all the files it created except one: t/boilerplate.t What does it do? -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is