Re: Google Summer of Code and Google Code In

2016-02-19 Thread Paul Johnson
TPF presence in GSoC and/or GCI next year, please raise your hand, jump around, shout and, above all, start doing whatever is necessary to make that happen. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net

Re: Perl 6 advocacy needs a mailing list

2016-02-05 Thread Paul Johnson
essage in the last 18 months) and has the advantage of already existing. I'm not convinced that Perl6 needs a list separate to Perl5. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net

Re: [perl #65942] Missing %*ENV values are defined, but don't exist

2009-05-24 Thread Paul Johnson
nested aggregates. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net

Re: Anyone has perl 1 docs?

2008-01-14 Thread Paul Johnson
minimal - you might be able to retrofit it to Perl1 without too much trouble. But I'd go the virtual machine route too, all else being equal. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Consting args for vmethods

2007-12-17 Thread Paul Johnson
effect of being read. For example, conversions are cached. Which is where, in C++, you would be using the mutable keyword. I don't think this has yet made it into any C standard, but my knowledge in these areas is a little out of date. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #47886] [TODO] 'make quicktest' target

2007-11-27 Thread Paul Johnson
On Tue, Nov 27, 2007 at 02:01:25PM -0800, Patrick R.Michaud wrote: After much discussion, we decided we'd like to have a make quicktest target that runs a subset of core Parrot tests that verify that the functionality is intact. FWIW, this target is known as coretest in Perl 5. -- Paul

Re: [perl #43338] [TODO] config/auto/va_ptr.pm: Write unit tests

2007-10-29 Thread Paul Johnson
, I'm resolving the ticket. Sorry if this opens it up again. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #41897] [BUG]: Parrot::Pmc2c::STMRef gets 'subroutine prederef redefined' warning

2007-05-01 Thread Paul Johnson
otherwise gone unnoticed, but my first thoughts would be that it was a bug in Devel::Cover. Has anyone managed to shine any additional light on this in the last six weeks? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #41886] [CAGE] Use lcov to show code coverage

2007-03-18 Thread Paul Johnson
to have settled on make testcover. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Why consting is good

2006-08-13 Thread Paul Johnson
Mixing Cconsts Combining Cconsts on a pointer and its constants can get confusing. Very much so. s/constants/contents/ I suspect? Or maybe s/its constants/what it points to/ ? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Any Clue about Devel::Cover Error Message Corrupted storable file (binary v2.7) at ../../lib/Storable.pm

2006-07-15 Thread Paul Johnson
.) (And sorry they are not already written. I suspect something a little more robust there might have saved you a bit of pain.) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: TAP diagnostic syntax proposal

2006-07-10 Thread Paul Johnson
should in order to get things the right way around. But perhaps it's just my brain that's wired backwards. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Any Clue about Devel::Cover Error Message Corrupted storable file (binary v2.7) at ../../lib/Storable.pm

2006-07-07 Thread Paul Johnson
allow to process to clean up. Devel::Cover does its work in the very last END block. You really need to let it run to completion. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Question - (1) Devel:;Cover and B::Deparse issue (2) cover and its momory consuming issue

2006-06-16 Thread Paul Johnson
is right or not. If this works then that's fine. You can probably be a bit more specific with 'no warnings recursion', but as I say, it is only a warning. I should sort it out in the Devel::Cover code itself at some point. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Couldn't understand the following message from Devel::Cover ...

2006-06-16 Thread Paul Johnson
it really shouldn't cause any further problems. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Error Message Magic number checking on storable file... when running cover to merge data

2006-06-16 Thread Paul Johnson
Devel::Cover databases. But the test process being killed probably has something to do with it. The files in the structure directory contain information about the structure of files. That is, the statements, branches and conditions in the file, and other similar data. -- Paul Johnson - [EMAIL

Re: Devel::Cover and HTML::Mason

2006-06-08 Thread Paul Johnson
correctly? If so, then Devel::Cover should report coverage at the correct place. You can probably assume this is OK if error messages from your template point you to the code correctly. If you still have problems you might need to come back with a bit more information. Good luck. -- Paul Johnson

Re: Error Message Magic number checking on storable file... when running cover to merge data

2006-06-08 Thread Paul Johnson
was written to the database at all? $ perl -MStorable -e 'retrieve /dev/null' Magic number checking on storable file failed at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 331, at -e line 1 -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Question - (1) Devel:;Cover and B::Deparse issue (2) cover and its momory consuming issue

2006-06-08 Thread Paul Johnson
is that the database is read into a perl data structure. (The database is really little more than a Storable dump of a Devel::Cover::DB object.) I'm afraid that the pragmatic approach its probably to throw RAM at the hardware. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: question about using cover -ignore and cover -ignore_re

2006-05-29 Thread Paul Johnson
, using less space, and mostly working. So something like perl -MDevel::Cover=+ignore,\\.pt$ ... might be what you are really looking for. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Info from Devel::Cover

2006-05-29 Thread Paul Johnson
, $options) if $options-{show}{branch}; print_conditions ($db, $file, $options) if $options-{show}{condition}; print_subroutines($db, $file, $options) if $options-{show}{subroutine}; } } From here you should be able to access any information you need. -- Paul Johnson - [EMAIL

Re: More - Re: question about using cover -ignore and cover -ignore_re

2006-05-29 Thread Paul Johnson
as -MDevel::Cover=+ignore,\\.pt$ I think that use Devel::Cover qw( +ignore .pt$ ); should do that. See -M in perldoc perlrun. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [perl #39217] [TODO] legal - eliminate All Rights Reserved.

2006-05-26 Thread Paul Johnson
: The symbol © (the letter C in a circle), or the word “Copyright,” or the abbreviation “Copr.” I wouldn't have said anything, but your correction seems to indicate that the (C) is important. Is my information outdated? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: A shorter long dot

2006-05-04 Thread Paul Johnson
On Thu, May 04, 2006 at 01:56:44PM +0300, Markus Laire wrote: On 5/1/06, Paul Johnson [EMAIL PROTECTED] wrote: But then again, as I said, I really don't see the problem that is being solved. This long-dot can be used for many things, not just method calls. Thanks for taking the time

Re: RFC: Community education page

2006-05-04 Thread Paul Johnson
certianly happens to me fairly often. Well, I'd obviously quite like that ;-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread Paul Johnson
if ((a = b)) to shut up gcc, and even adding # uncoverable to keep Devel::Cover quiet ;-) [ No, that last one doesn't work yet. ] -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: A shorter long dot

2006-05-01 Thread Paul Johnson
code as much as the next programmer, and probably a lot more, but I just don't see the need for this syntax which seems ugly, confusing and unnecessary. But then again, as I said, I really don't see the problem that is being solved. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [selenium-dev] Selenium RC driver

2006-04-10 Thread Paul Johnson
needed a fairly recent (or possibly just not ancient) version of java to get it to work), and being consistent with the other languages seems to provide many benefits. I'm on freenode #selenium if anyone wants to discuss this there. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [selenium-dev] Perl Selenium RC driver

2006-04-10 Thread Paul Johnson
On Mon, Apr 10, 2006 at 10:26:14AM -0700, Dan Fabulich wrote: Paul Johnson wrote: Re: CPAN... I don't see a problem with that sort of thing going on CPAN, at least not from that point of view, but I do wonder if it is worthwhile given that it will exist as part of Selenium itself. I

Re: How to best have statements execute only during dev/testing?

2006-01-10 Thread Paul Johnson
. I suppose you could consider a source filter, but I couldn't recommend that. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: handling undef better

2005-12-19 Thread Paul Johnson
to declare which hash keys or array elements are valid. Do we have that already? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Compiling Devel::Cover stats across scripts

2005-11-16 Thread Paul Johnson
I need to create separate cover_db_$$ dirs for each of the 20 runs, then use cover at the end to merge them together? I would hope things should work just as you are expecting, that is all twenty runs should be merged to give combined coverage for the script and any modules used. -- Paul

Re: RFC: Test::JSON

2005-11-14 Thread Paul Johnson
before making a release. Oh, and Test::JSON works well for me. Thanks! -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: suspend and resume opcode

2005-11-04 Thread Paul Johnson
On Fri, Nov 04, 2005 at 11:02:42AM -0500, Will Coleda wrote: The mail list strips out .t attachments (Robert? is this necessary?) This was changed on perl5-porters a few weeks ago, and since then I don't recall seeming a marked increase in troff spam. -- Paul Johnson - [EMAIL PROTECTED] http

Re: Devel::Cover: Can't find digest for blib/lib/A/B.pm

2005-10-27 Thread Paul Johnson
on this topic. The bug is due to a combination of dodgy option handling and incorrect (or at least unhelpful) behaviour with non-standard options. I may yet completely overhaul the option handling. That this is a possibility is the major reason I still call the code alpha. -- Paul Johnson

Re: New kwalitee test, has_changes

2005-09-23 Thread Paul Johnson
think I have mentioned this before.) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [Maybe Spam] Re: DBD-mysql coverage == 56% - am I on drugs ??

2005-09-23 Thread Paul Johnson
On Fri, May 13, 2005 at 05:18:40PM +0100, Tim Bunce wrote: On Fri, May 13, 2005 at 10:51:56AM +0200, Paul Johnson wrote: On Fri, May 13, 2005 at 03:00:39PM +1000, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Covering the XS portion of the code with gcov is possible

Re: New kwalitee test, has_changes

2005-09-22 Thread Paul Johnson
solved ;-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover problem with Apache::Test

2005-09-16 Thread Paul Johnson
/slides/ and the more basic stuff can be found off http://www.pjcj.net/yapc/ -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: rantTesting module madness

2005-09-10 Thread Paul Johnson
still be enough. See http://www.perladvent.org/2004/5th/ Do the same when you need to upgrade something. I managed to install svk and a bunch of other stuff in this fashion without problem. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Test::Harness Extension/Replacement with Color Hilighting

2005-09-05 Thread Paul Johnson
::Color. That might be useful - or might serve as a good basis to build something on. See also Apache::Test. http://perl.apache.org/docs/general/testing/testing.html#Colored_Trace_Mode -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover Problem: testing || for a default value.

2005-07-11 Thread Paul Johnson
. It should also be possible to note why the code is uncoverable. I've also found it useful to have different classes of uncoverable code. Why is it that my TODO list only gets longer? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover Problem: testing || for a default value.

2005-07-11 Thread Paul Johnson
On Mon, Jul 11, 2005 at 02:54:19PM -0700, Michael G Schwern wrote: On Mon, Jul 11, 2005 at 11:22:51PM +0200, Paul Johnson wrote: my $foo = $bar || default(); # DC ignore X|0 Hey, Devel::Cover! Ignore the case where the right side of this logic is false. I wasn't

Re: 5.004_xx in the wild?

2005-07-05 Thread Paul Johnson
On Wed, Jul 06, 2005 at 01:36:10AM +0200, Abigail wrote: On Mon, Jul 04, 2005 at 05:21:01PM +0200, Paul Johnson wrote: Unfortunately, upgrading isn't always an option. Anyone can type $ ./Configure -des make make test install but putting the results of such a command

Re: 5.004_xx in the wild?

2005-07-04 Thread Paul Johnson
this, sometimes it's hard enough just stopping people from mandating the use of ksh, Java and XML. Having said all that, feel free to do what you want with 5.004 support. I don't care! I have 5.005! -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Optimisations (was Re: How much do we close over?)

2005-06-13 Thread Paul Johnson
, programmers shouldn't need to worry about what optimisations are going on under the covers. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::cover bug?

2005-06-03 Thread Paul Johnson
somewhere. But there is also a chance that I am conflating two ops, since I have yet to come up with a way to uniquely identify an op (suggestions welcome). You're not running on 5.6.x are you? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::cover bug?

2005-06-03 Thread Paul Johnson
, but I notice the docs are wrong there. They wont be in the next release. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::cover bug?

2005-06-01 Thread Paul Johnson
the problem only show up under the html report? If you look at the subroutine coverage page, it claims that there is a BEGIN block uncovered at that line. That does sound a little strange. Are you able to produce an example showing this problem? Any insights? Not at the moment, I'm afraid. -- Paul

Re: Displaying the description in diagnostic output

2005-05-13 Thread Paul Johnson
after the very first test that fails because that's the one I'm going to fix now option while you're looking at this. Or even at some other time. Or somebody else. I'm not that fussy really. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: DBD-mysql coverage == 56% - am I on drugs ??

2005-05-13 Thread Paul Johnson
of coverage stats. That total is calulated as the sum of all the covered constructs over the sum of all constructs. That figure has more dubious value as it assumes that all coverage criteria are equal when we all know that some criteria are more equal than others. -- Paul Johnson - [EMAIL

Re: [Maybe Spam] Re: DBD-mysql coverage == 56% - am I on drugs ??

2005-05-13 Thread Paul Johnson
On Fri, May 13, 2005 at 03:00:39PM +1000, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Covering the XS portion of the code with gcov is possible, and Devel::Cover will create all kinds of nice webpages and statistics for you too. Paul Johnson may have this written up somewhere

verbose diagnostics

2005-04-28 Thread Paul Johnson
Using Test::More, I would like to send some diagnostics to be seen only when the harness is running in verbose mode. There doesn't seem to be a way of doing this. The best I could come up with is: sub vdiag { pass(@_) } but this has little to recommend it. Thoughts? -- Paul Johnson

Re: verbose diagnostics

2005-04-28 Thread Paul Johnson
On Thu, Apr 28, 2005 at 02:44:30PM +0100, Adrian Howard wrote: On 28 Apr 2005, at 14:23, Paul Johnson wrote: Using Test::More, I would like to send some diagnostics to be seen only when the harness is running in verbose mode. [snip] diag some verbose diagnostics if $ENV

Re: Sun Fortress and Perl 6

2005-04-27 Thread Paul Johnson
. http://www.mail-archive.com/perl6-language@perl.org/msg11967.html -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [pugs]weird thing with say ++$

2005-04-21 Thread Paul Johnson
they are, but maybe that's not such a great problem. See http://www.eskimo.com/~scs/C-faq/faq.html, especially sections 3.8 and 11.33 for details. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Tests running Tests

2005-04-12 Thread Paul Johnson
which tweeks the system and then ensures that foo.t still passes. How do I write tweek-then-foo.t? I would do it in the same way as if this had nothing to do with tests. That is, abstract away the common code into a module, which can also live under t/ -- Paul Johnson - [EMAIL PROTECTED] http

Re: Testing Net-SSLeay

2005-04-01 Thread Paul Johnson
On Fri, Apr 01, 2005 at 01:47:36PM -0600, Walter Goulet wrote: Finally, I wanted to confirm an assumption: I can split test.pl into a set of seperate t/*.t test scripts regardless of whether I'm using Test or Test::More. Yes. Or neither or both. -- Paul Johnson - [EMAIL PROTECTED] http

pugs code coverage requirements

2005-03-27 Thread Paul Johnson
expression I can probably go into nauseating detail on any of these points if required. If you've got this far, thanks for listening! -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Fwd: [ANN: WWW::Agent 0.03 has entered CPAN: rho@bigpond.net.au]

2005-03-21 Thread Paul Johnson
the module - I'll just install it and run it. This argument can also be applied to (most of) the modules in the Tie namespace, though I know that not everyone is of the same opinion in this regard. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: error using gcov2perl

2005-03-09 Thread Paul Johnson
into it. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: CPAN modules coverage

2005-03-07 Thread Paul Johnson
cover. There are also options to cover to merge separate coverage databases. anyway, we need site-space and cpu-time somewhere to merge the data. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: CPAN modules coverage

2005-03-07 Thread Paul Johnson
On Mon, Mar 07, 2005 at 10:33:11PM +, Nicholas Clark wrote: On Mon, Mar 07, 2005 at 07:59:40PM +0100, Paul Johnson wrote: To do it properly it would need to be on a machine somewhere which would accept uploaded coverage databases from anyone who wanted to submit one. I discussed

Re: Test::Output 0.05

2005-03-05 Thread Paul Johnson
test results? It still chokes on certain not uncommon constructs like threads. On that note, is forking also problematic? Forking should be fine, for certain definitions of fine. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Anomalous Difference in Output between HTML Files Created by

2005-01-31 Thread Paul Johnson
how the output is displayed, but I wasn't able to find anything that improved on the current output in the general case. I suppose that's the price you pay for TIMTOWTDI. [ Is that a Python programmer I hear giggling in the background? ] -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover failure?

2005-01-31 Thread Paul Johnson
. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: SegFault under Devel::Cover for sort

2005-01-25 Thread Paul Johnson
along with a test case based on your failing example (I removed the rand part). If things are OK for you I'll release a new version with this fix soon. Thanks for the minimal test case. Bug fixes are so much easier with a concise way to reproduce the problem. -- Paul Johnson - [EMAIL PROTECTED

Re: [CVS ci] class refactoring 1 - Integer

2004-12-10 Thread Paul Johnson
simple parts of perl5. Provided you're not too worried about what's going on under the macros, I suppose. if (SvTRUE(left) != SvTRUE(right)) RETSETYES; else RETSETNO; -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover error from Storable

2004-12-09 Thread Paul Johnson
Devel::Cover uses Storable internally. Whether this is related to your main problem I can't tell, though I have have seen that warning plenty of times before but never encountered your main problem. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover error from Storable

2004-12-09 Thread Paul Johnson
picked up? Maybe you could try printing out the version of Storable being used before nstore is called? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Pipe dream - Devel::Cover::Regex

2004-12-08 Thread Paul Johnson
really see it happening for me. So, I figure the next best thing is to throw this idea out here and see if anyone else runs with it. Micheal suggested mjd's Rx might be useful. Jeff Pinyan's Regexp::Parser might also help as a base. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Test Failure Hooks

2004-12-07 Thread Paul Johnson
. Doing something similar before the test is run seems useful too. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Python is not Java...but will Perl 6 be?

2004-12-03 Thread Paul Johnson
/ above, but after many discussions on this topic, I'm still not sure if I can. http://www.nntp.perl.org/group/perl.perl6.language/9576 -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Harness runs the sub, D::C says I haven't

2004-11-16 Thread Paul Johnson
hope the effort proves worthwhile. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Harness runs the sub, D::C says I haven't

2004-11-15 Thread Paul Johnson
On Sat, Nov 13, 2004 at 12:33:01PM +1100, Leif Eriksen wrote: First, thanx so very much for responding so quickly... That was just to make up for the short delay here, and the much longer delay to your last mail to me ;-) Paul Johnson wrote: On Sat, Nov 13, 2004 at 12:46:16AM +1100, Leif

Re: Devel::Cover on Win32: Observations

2004-11-15 Thread Paul Johnson
it will tell you which directories are being ignored by default. See the documentation to alter this if it is wrong for you. (Or manually hack Devel::Cover::Inc, but that's not a supported solution.) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Harness runs the sub, D::C says I haven't

2004-11-12 Thread Paul Johnson
/group/perl.perl5.porters/85930?show_headers=0 (I meant use_ok in that message, not isa_ok.) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: special blocks tests fail on 5.8.0

2004-11-04 Thread Paul Johnson
if (exists B::check_av). In a standard 5.8.0 that would be false. In 5.8.1 and, it would seem, RH9 5.8.0 it is true. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Branch coverage issue in Devel::Cover

2004-10-12 Thread Paul Johnson
/din/Devel-Cover-0.47/cover line 101 Can't open database /error Any clue why this error occurs. Ah yes - that option was new in 0.48. I suggest you either upgrade to version 0.49, use -ignore with the full path to File::Copy, or live with getting the extra data or bogus branch report. -- Paul

Re: Branch coverage issue in Devel::Cover

2004-10-11 Thread Paul Johnson
is if it is accompanied by a perfect patch ;-) I will see if I can work out some sort of solution for the next release. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Using Devel::Cover in different ways - Help Reqd.!!

2004-10-08 Thread Paul Johnson
by setting PERL5OPT. $ PERL5OPT=-MDevel::Cover your_prog This will not work, however, if you have embedded perl and pass in a modified environment which changes that variable. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: running Devel::Cover in mod_perl (1.3)

2004-10-05 Thread Paul Johnson
that and can reduce it to a small script I'd be very grateful. I have a bit of a backlog of mail that's been waiting for me to get this release out. If you've sent me something I'll try to get to it within the next couple of weeks. Otherwise, please feel free to send me a reminder. -- Paul Johnson

Re: running Devel::Cover in mod_perl (1.3)

2004-10-05 Thread Paul Johnson
? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: running Devel::Cover in mod_perl (1.3)

2004-10-05 Thread Paul Johnson
On Tue, Oct 05, 2004 at 11:32:23AM -0700, David Wheeler wrote: On Oct 5, 2004, at 11:25 AM, Paul Johnson wrote: I wonder whether we shouldn't try to standardise the target name before it's too late to do so. Module::Build uses covertest, I've always used cover, and Geoff has just used test

Re: running Devel::Cover in mod_perl (1.3)

2004-10-02 Thread Paul Johnson
surprise ;-) [ Just before sending this I notice Geoff has recommended something better, but I'll send this too as another WTDI. ] #!/usr/bin/perl # Copyright 2004, Paul Johnson ([EMAIL PROTECTED]) require 5.6.1; use strict; use warnings; use ExtUtils::MakeMaker; use ExtUtils::Manifest maniread

Re: Fine-tuning output from Devel::Cover

2004-08-17 Thread Paul Johnson
. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: CPANTS preview - coverage in CPAN testers reports

2004-07-24 Thread Paul Johnson
and reports produced. I'm slowly making the changes to Devel::Cover to allow that. When such a system is in place, it could be queried in order to provide some input towards the kwalitee. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: CPANTS preview

2004-07-22 Thread Paul Johnson
will obviously need to be weighted, but I just wanted to throw out a few thoughts from the safety of the peanut gallery. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover on Windows, ppm anyone ?

2004-07-16 Thread Paul Johnson
all the tests if I can somehow find out it's running on ActiveState's build system. As an aside, my Gedcom module always used to fail because the tests took too long to run, though I see it passes now. And my Shell::Source module has passed, even though it doesn't run on Windows ;-) -- Paul

Re: Phalanx: What if full coverage isn't possible?

2004-07-09 Thread Paul Johnson
. Columns one and five are especially problematic at the moment. So for the time being you might prefer to simply note which parts cannot be covered and why, and later convert that to whatever system we ultimately use. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Infinite recursion

2004-06-30 Thread Paul Johnson
at the moment. In the meantime, please just ignore the noise. Or maybe add -X to your command line, if you're feeling brave. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover and nested subroutines

2004-06-29 Thread Paul Johnson
- thanks for that. Yes, though you could argue that any warnings or errors coming from that code will be confusing anyway. In any case, the first fix will be in the next release, excellent, thanks. Which is now out. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover bug

2004-06-27 Thread Paul Johnson
other problems. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover bug

2004-06-26 Thread Paul Johnson
. The change is in my development copy and will be in the next release. Thanks again for reporting the problem and producing a small test case. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover and nested subroutines

2004-06-26 Thread Paul Johnson
will be in the next release, and thanks again for the great test cases. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: testing for unsuccessful require - mocking require ?

2004-06-19 Thread Paul Johnson
recommendation. [snip] In general I'd like to get your opinion on how to mock unsuccessful require. local *CORE::GLOBAL::require = sub { die require $_[0] failed }; Goes back to before 5.6. I think it came in in 5.004. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: New Devel::Cover Noise

2004-06-18 Thread Paul Johnson
this problem. Thanks for reading this far. I must stop now as half time is over, so it's back to the football ... -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Removing Tests from Devel::Cover results

2004-06-18 Thread Paul Johnson
the coverage the -file and -exclude options to cover will allow you to choose the files on which to report. I should probably change those to be -select and -ignore to match. Thank goodness I'm still on alpha versions ;-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover: completing $x{foo} ||= 1 conditions

2004-05-27 Thread Paul Johnson
subs and *foo{THING}. Enjoy, -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Style question

2004-05-25 Thread Paul Johnson
required as part of the test suite. Then again, I like Joshua Pritikin's parenthetical question in Test.pm, Your test code should be simpler than the code it is testing, yes?. Hmmm. I'm not sure whether that will help you make a decision or not. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

  1   2   3   >