What about Test::Unit?

2006-01-08 Thread Matisse Enzer
dly rough) case for why I like Test::Unit is at: http://twoalpha.blogspot.com/2005/11/unit-testing-in-perl-with- testunit.html ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: What about Test::Unit?

2006-01-09 Thread Matisse Enzer
of what I've read here I'm going to try using Test::Class and think more about this. Thanks again, Matisse --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

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

2006-01-10 Thread Matisse Enzer
tuff } I'll note here that Carp::Assert handles this issue by having you make all the test calls conditional: ASSERT( $a == $b) if DEBUG; -M ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

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

2006-01-10 Thread Matisse Enzer
By the way - I have also been looking at Test::Assertions --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

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

2006-01-10 Thread Matisse Enzer
efore. --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

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

2006-01-11 Thread Matisse Enzer
On Jan 10, 2006, at 8:36 AM, dakkar wrote: This entry in BooK's use.perl journal might help you: http://use.perl.org/~BooK/journal/25445 Thanks - that is a helpful idea. --- Matisse Enzer <[EMAIL PROTECTED]> http://www.

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

2006-01-11 Thread Matisse Enzer
en very informative about practical techniques, so we will have a couple good ideas to choose from rather than invent our own. ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Test Script Best-Practices

2006-01-28 Thread Matisse Enzer
On Jan 27, 2006, at 6:06 PM, James E Keenan wrote: Steffen Schwigon wrote: Quite often -l (to read from lib/) is enough, depending on your module build complexity. For -b you have to call ./Build before "prove", which can be annoying and/or difficult to remember. I'll have to try that out.

Re: Network Testing

2006-02-20 Thread Matisse Enzer
::TCP --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Matisse Enzer
llows one to specify the installed permissions of files, for example, if i want my executables to be installed as 550, or 4555 it doesn't look like I can do that. I could be wrong about that though. ------- Matisse Enzer <[EMAIL PRO

Best practice for version control of locally installed CPAN modules

2006-02-27 Thread Matisse Enzer
I'm helping plan inmprovements to a build & deploy system and am wondering what people think is the "best practice" for handling version control of locally-installed CPAN modules. We have a bunch of code in version control (CVS now, moving to SVN soon) We also have a large number of CPAN module

Re: Best practice for version control of locally installed CPAN modules

2006-02-27 Thread Matisse Enzer
complicated :-) I'll read it tomorrow when I've had some sleep. ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Best practice for version control of locally installed CPAN modules

2006-02-27 Thread Matisse Enzer
e to the QA environment (which could be multiple machines.) ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Best practice for version control of locally installed CPAN modules

2006-02-28 Thread Matisse Enzer
tion of a powerful technique and Im glad to know about it. Thank you! -- Matisse Enzer [EMAIL PROTECTED] http://www.eigenstate.net/ - http://www.matisse.net/

Re: Best practice for version control of locally installed CPAN modules

2006-02-28 Thread Matisse Enzer
sibly > http://search.cpan.org/~ssoriche/CPAN-Mini-Inject-.18/lib/CPAN/Mini/Inject.pm Yes thank you - I'm installing both to test. -- Matisse Enzer [EMAIL PROTECTED] http://www.eigenstate.net/ - http://www.matisse.net/

Re: Best practice for version control of locally installed CPAN modules

2006-03-02 Thread Matisse Enzer
I did some experimenting yesterday with CPAN::Mini::Inject and our Subversion repository: As many of you know, in the Subversion source control system every file has a URL - it can be a file:// url, an http:// URL, an svn:// URL, etc. I think what will work well for us is to use CPAN::Mi

Re: Trends in Code Quality

2006-03-02 Thread Matisse Enzer
) things for me - I *feel better* doing TDD, it is actually easier for me in most cases, as well as faster (for me) and more accurate - I write better code. Of course, Your Milage May Vary (YMMV) --- Matisse Enzer <[EMAIL PROTECTED]>

Re: Trends in Code Quality

2006-03-02 Thread Matisse Enzer
different environments - small company, large company, fast-moving, slow-moving, etc. ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: ANNOUNCE - Smolder 0.01

2006-03-05 Thread Matisse Enzer
After some trouble, I managed to create a distribution tarball for my patched Redhat 8 system from smolder-0.01-src using bin/ smolder_makedist. The problem I encountered was in src/libapreq-1.3.tar.gz - specifically in src/libapreq-1.3/Makefile.PL (after unpacking the tarball) the code

Re: ANNOUNCE - Smolder 0.01

2006-03-05 Thread Matisse Enzer
On Mar 5, 2006, at 3:15 PM, Michael Peters wrote: Matisse Enzer wrote: After some trouble, I managed to create a distribution tarball for my patched Redhat 8 system from smolder-0.01-src using bin/ smolder_makedist. Thanks for trying this out so soon. It's been developed o

Re: Best practice for version control of locally installed CPAN modules

2006-03-06 Thread Matisse Enzer
On Mar 6, 2006, at 4:10 AM, Nik Clayton wrote: Matisse Enzer wrote: Currently we are evaluating these options: 1) Maintain a list of the .tar.gz files and install from CPAN, for example M/MA/MATISSE/Text-TagTemplate-1.8.tar.gz 2) Put the CPAN .tar.gz files in a local CPAN repository

Module::Build and installing in non-standard locations

2006-03-28 Thread Matisse Enzer
What's the standard (if any) for how to configure a build script to install specific files (e.g. httpd.conf) in someplace other than the standard Perl library/script/man locations? For example, if my distro contains a bunch of .pm files and .pl files, which go in the "normal" place, and my dis

Re: Module::Build and installing in non-standard locations

2006-03-28 Thread Matisse Enzer
On Tue, 28 Mar 2006, Randy W. Sims wrote: > The add_build_element() method is the key to the process. Ah-Ha and thank you Very Nice! I did read the perldoc - but just didn't get that add_build_element('foo_files') would make M::B look for a foo_fiels element - and I thought i would have to

Re: Module::Build and installing in non-standard locations

2006-03-30 Thread Matisse Enzer
On Tue, 28 Mar 2006, Randy W. Sims wrote: > There are a number of ways to do this. The most simple is: > > use strict; > use warnings; > > use File::HomeDir; > my $conf_dir = File::Spec->catdir( File::HomeDir->my_home, '.Foo' ); > > use Module::Build; > my $builder = Module::Build->new( >

Re: Module::Build and installing in non-standard locations

2006-03-30 Thread Matisse Enzer
On Thu, 30 Mar 2006, Randy W. Sims wrote: > Note that the entries in install_path must have the same name as > supplied to add_build_element() (not with the '_files' appendage). OK - thanks again, that is my problem... the naming of the entries... I was too dense to appreciate your note about th

Re: [OT] TDD + Pair Programming

2006-04-01 Thread Matisse Enzer
gh* application code to make the test pass. Each mini-iteration might take between 1 and 5 minutes. Here's a pretty good Power Point slide show that demonstrates the process: http://www.butunclebob.com/files/downloads/Bowling%20Game%20Kata.ppt ------

Re: Module requirements (was: Module::Build and installing in non-standardlocations)

2006-04-01 Thread Matisse Enzer
On Mar 31, 2006, at 11:02 AM, Adam Kennedy wrote: Most end users don't see the "build" stage as being somehow distinct, all they want to do is "install a module". I agree 100% with that, and urge others to keep that in mind. ------

Re: Changing permissions on temporary directories during testing

2006-05-21 Thread Matisse Enzer
On May 21, 2006, at 7:29 PM, James E Keenan wrote: Let's say that I'm writing a test suite for a Perl module which creates files and then, optionally, moves those files to predetermined directories. To test this module's functionality, I would have to see what happens when the user runnin

Re: $parser->unexpectedly_succeeded;

2006-07-28 Thread Matisse Enzer
ch is also equally descriptive. $parser->todo_passed ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/ smime.p7s Description: S/MIME cryptographic signature

Re: Time for a Revolution

2006-07-30 Thread Matisse Enzer
andbooks", something like that. I believe they were wildly popular. ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/ smime.p7s Description: S/MIME cryptographic signature

Re: unit tests or functional tests

2006-08-06 Thread Matisse Enzer
existing code will sometimes be worth the cost, especially on code that you are making changes to - it's not a yes/no issue. In general though, I agree that functional tests will give you a better return on investment. --- Matisse Enzer &l

Counting files, lines, packages, subs in Perl

2006-09-03 Thread Matisse Enzer
I've started working on a module to analyze perl code and give reports like this: % analyze.pl path/to/directory/of/perl/code files: 39 packages: 39 subs: 336 The module is (very tentively) named Perl::Code::Analyze and uses Adam Kennedy's PPI module for the real work.

Re: Counting files, lines, packages, subs in Perl

2006-09-04 Thread Matisse Enzer
On Sep 3, 2006, at 6:45 PM, Andy Lester wrote: On Sep 3, 2006, at 8:42 PM, Matisse Enzer wrote: The module is (very tentively) named Perl::Code::Analyze and uses Adam Kennedy's PPI module for the real work. Excellent! Although I'm wondering if it could get folded into Pe

Re: Counting files, lines, packages, subs in Perl

2006-09-04 Thread Matisse Enzer
On Sep 4, 2006, at 4:00 AM, Leon Brocard wrote: On 9/4/06, Matisse Enzer <[EMAIL PROTECTED]> wrote: I've started working on a module to analyze perl code and give reports like this: Neato. Kind of similar to my Perl::Metric::Basic: http://search.cpan.org/dist/Perl-Metric-Basi

Namespace question (was Re: Counting files, lines, packages, subs in Perl)

2006-09-06 Thread Matisse Enzer
min. sub size: 1 lines max. sub size: 679 lines avg. sub size: 27.04 lines min. sub complexity: 1 max. sub complexity: 209 avg. sub complexity: 5.58 ------- Matisse Enzer <[EMAIL PROTECTED]

ANNOUNCE: Perl::Metrics::Simple - alpha version

2006-10-03 Thread Matisse Enzer
I uploaded an alpha version to the CPAN yesterday: http://search.cpan.org/dist/Perl-Metrics-Simple/ There is an included script, in the examples/ directory which produces output like this: Perl Files: $file_count Line Counts --- lines: $lines packages:$pac

Re: ANNOUNCE: Perl::Metrics::Simple - alpha version

2006-10-03 Thread Matisse Enzer
On Oct 3, 2006, at 8:02 PM, Adam Kennedy wrote: Michael Peters wrote: Matisse Enzer wrote: I uploaded an alpha version to the CPAN yesterday: http://search.cpan.org/dist/Perl-Metrics-Simple/ There is an included script, in the examples/ directory which produces output like this

Perl::Metrics::Simple 0.30

2006-12-09 Thread Matisse Enzer
Now in a CPAN near you: Perl::Metrics::Simple 0.30 Installs thecountperlscript which you point at one or more Perl files (and/or directories) and get a report of all the subroutines, sorted by complexity. Line counts exclude both comments and pod. For example: % countperl lib/T

Re: Perl::Metrics::Simple 0.30

2006-12-14 Thread Matisse Enzer
On Dec 10, 2006, at 1:16 AM, Ovid wrote: --- Matisse Enzer <[EMAIL PROTECTED]> wrote: McCabe Complexity - Code not in any subroutine:: min: 1 max 10 mean: 1.00 std. deviation: 2.54 median: 1.00 Subro

Re: Perl::Metrics::Simple 0.30

2006-12-14 Thread Matisse Enzer
On Dec 14, 2006, at 3:05 PM, Michael G Schwern wrote: Matisse Enzer wrote: sub complexity_of_six { my $bar = shift; my $total = 0; my $type = ref $bar; if ( ! $type ) { $total = $bar; } elsif ( $type eq 'ARRAY' ) {

Perl::Metrics::Simple 0.031

2006-12-14 Thread Matisse Enzer
By the way - I've put a bug-fix version up on the CPAN: http://search.cpan.org/dist/Perl-Metrics-Simple/ Thecountperl script in 0.031 fixes the bug Ovid found. -Matisse

Re: Perl::Metrics::Simple 0.30

2006-12-15 Thread Matisse Enzer
while ); See themeasure_complexity() method in Perl::Metrics::Simple::Analysis::File ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Perl::Metrics::Simple 0.30

2006-12-15 Thread Matisse Enzer
f 8. I realize that I'm not actually counting 'ne', 'eq', 'ge', or 'le', which is probably a bug :-) I'm totally interested in better way(s) to measure this by the way. --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Measuring Complexity (was Re: Perl::Metrics::Simple 0.30)

2006-12-16 Thread Matisse Enzer
) ? -M --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Measuring Complexity (was Re: Perl::Metrics::Simple 0.30)

2006-12-19 Thread Matisse Enzer
On Dec 17, 2006, at 9:02 PM, Randy W. Sims wrote: Matisse Enzer wrote: On Dec 15, 2006, at 10:13 PM, Chris Dolan wrote: OK, I see. Perhaps I was distracted from your main point by mention of cyclomatic complexity, which has a rather specific definition. Mea culpa. In the next release

Re: Dealing with balls o' mud (was: Re: Test::Builder feature request)

2007-01-15 Thread Matisse Enzer
o' mud this is a very hard problem. It requires that one: 1. Estimate the effort/cost of a refactoring/improvement. and 2. Estimate the value of a refactoring/improvement. Since the ball o' mud is, by definition, hard to understand, these estimates are even harder th

Re: Test::Harness 3.0

2007-01-21 Thread Matisse Enzer
-from-perl- test-files.html I'm guessing T::H 3.0 might make this easier (for example, getting elapsed time on each assertion perhaps?) ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Fixtures

2007-02-13 Thread Matisse Enzer
://fitnesse.org/FitNesse/FitNesse/FixtureCode ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: a safer way to use no_plan?

2007-03-03 Thread Matisse Enzer
he test* methods. It counts the number of test* methods for you. -M ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Paying for TAP 2.0

2007-03-07 Thread Matisse Enzer
I'd contribute $200, if that would help. -M

CPAN testers generates Makefile.PL without prerequisites

2007-05-20 Thread Matisse Enzer
n of the above ? :-) -Matisse ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Pod::Critic?

2007-06-07 Thread Matisse Enzer
I wonder how you all feel these days about the "put the pod at the __END__" approach? I've been trying it for over a year now and am not really sure its the best way to go (vs. having the pod for each method right next to it.) -M On Thu, 7 Jun 2007, Jeffrey Thalhammer wrote: > > I've written ple

Re: Pod at __END__

2007-06-07 Thread Matisse Enzer
I've done pod both ways, for over a year each way, and I am not really happy with either approach. If I was using an editor that did pod-folding the way Eclipse does javadoc folding, then i would probably favor the inline approach. -M On Thu, 7 Jun 2007, chromatic wrote: > On Thursday 07 June

Re: .t files as specs

2007-06-20 Thread Matisse Enzer
anyone tried writing test files as part of their spec's? An overview document would also be needed, and some time walking through the expected testing. But it sure would be setting clear expectations. Comments? Mike ------- Matisse

Best Practice for tracing program flow

2007-07-23 Thread Matisse Enzer
b was called, but not in the order they were called.) -M --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Best Practice for tracing program flow

2007-07-24 Thread Matisse Enzer
On Jul 23, 2007, at 10:10 PM, Michael G Schwern wrote: Matisse Enzer wrote: What's the current best practice for running a Perl program and getting a report of all the subroutine calls throughout the life of the program in the order in which they were called? (as opposed to something

Re: test duration (was TAP datetime)

2007-09-07 Thread Matisse Enzer
A side-note to keep in mind: If we every want to be able to convert TAP to the XML format produced by the JUnit ant task (this way for example CruiseControl could more easily read the results of Perl tests) then it becomes desirable to get timing info for each perl test - that is, each ok(

Re: test duration (was TAP datetime)

2007-09-09 Thread Matisse Enzer
On Sep 9, 2007, at 1:15 AM, Ovid wrote: --- Matisse Enzer <[EMAIL PROTECTED]> wrote: A side-note to keep in mind: If we every want to be able to convert TAP to the XML format produced by the JUnit ant task (this way for example CruiseControl could more easily read the results of Perl

Re: test duration (was TAP datetime)

2007-09-09 Thread Matisse Enzer
gh so that CruiseControl can show nice test results. The toy script i wrote (http://twoalpha.blogspot.com/2007/01/junit- style-xml-from-perl-test-files.html) does most of that, adding the per-test-duration is just sugar from this point of view. -----

Searching CPAN repositories in a chain

2007-10-04 Thread Matisse Enzer
? -M --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Matisse Enzer
nd starts to install Dependency found on Bit::Vector cpan1.private.net - not found cpan2.private.net - not found mirrors.kernel.org - server unreachable mirrors.ibiblio.org - found and installed --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Matisse Enzer
thread! Thanks again. -M --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

how to get archname

2007-10-15 Thread Matisse Enzer
Hi folks, forgive me but what is the magic variable to get archname? for example, on my system archname is darwin-thread-multi-2level Obviously $OSNAME gets me 'darwin', but what about 'thread- multi-2level' ? -M -----

Re: how to get archname

2007-10-15 Thread Matisse Enzer
On Oct 15, 2007, at 3:11 PM, Michael Peters wrote: use Config; $Config{archname} Doh! Thank you very nice! --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Running CPAN as a regular user, installing as root

2007-10-18 Thread Matisse Enzer
uld be working for The Man. -M ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

get_resource_by_name() - Find full-path of something in @INC

2007-10-18 Thread Matisse Enzer
ow about those references in @INC? ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: get_resource_by_name() - Find full-path of something in @INC

2007-10-18 Thread Matisse Enzer
On Oct 18, 2007, at 2:51 PM, Eric Wilhelm wrote: # from Matisse Enzer # on Thursday 18 October 2007 13:31: So, what is Best Way? Module::Finder ? I want to find non-module resources, for example, a directory containing configuration files that was installed in @INC somewhere. My

Re: get_resource_by_name() - Find full-path of something in @INC

2007-10-19 Thread Matisse Enzer
7;d really like is a xdg_config_resource() function which will find both files and directories whose paths match. ( xgd_config_files() and friends only locate regular files. Perhaps a patch is in order) ------- Matisse Enzer <[EMAI

File::BaseDir - proposed new version (was Re: get_resource_by_name() - Find full-path of something in @INC)

2007-10-19 Thread Matisse Enzer
o new functions: xdg_config_resource() and xdg_data_resource() which find both files and directories (instead of only finding files.) The tarball includes updated unit tests, etc. -Matisse ------- Matisse Enzer <[EMAIL PROTECTED]> http://www

Re: get_resource_by_name() - Find full-path of something in @INC

2007-10-19 Thread Matisse Enzer
}; Typo? Yeah, sorry for the confusion. Should be, of course: my $lookup_tables = { 'LookupTables/Colors.txt' => "$support_files_install_dir/Colors.txt", 'LookupTables/Smells.txt' => "$support_files_install_dir/Sme

Re: get_resource_by_name() - Find full-path of something in @INC

2007-10-19 Thread Matisse Enzer
is null the path of the class loader built-in to the virtual machine is searched. That failing, this method will invoke findResource(String) to find the resource. Parameters: name - The resource name Returns: A URL object for reading the resource, or null if the resource could not be found or the invoker doesn't have adequate privileges to get the resource. --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: get_resource_by_name() - Find full-path of something in @INC

2007-10-18 Thread Matisse Enzer
again! -M ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Running CPAN as a regular user, installing as root

2007-10-18 Thread Matisse Enzer
are now running the cpan utility as an admin user (and thus the sudo doesn't work)? ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Running CPAN as a regular user, installing as root

2007-10-18 Thread Matisse Enzer
On Oct 18, 2007, at 7:53 PM, A. Pagaltzis wrote: * Matisse Enzer <[EMAIL PROTECTED]> [2007-10-18 19:35]: From your shell prompt: sudo cpan No, if you used to use CPAN.pm as root, then instead say this: sudo tar cf - .cpan -C ~root | tar xvf - -C ~ sudo rm -r ~root/.cpan

Overriding CORE::GLOBAL::print

2007-10-27 Thread Matisse Enzer
e 11. ok 1 - overrode glob Use of uninitialized value in print at test.pl line 19. not ok 2 - overrode print # Failed test 'overrode print' # at test.pl line 19. # got: '1' # expected: 'overrode function' # Looks like you failed 1 test of 2. --

Re: Overriding CORE::GLOBAL::print

2007-10-27 Thread Matisse Enzer
ation that has 'print' strewn about all through the modules as some kind of super-crude logging system. I suppose we need to bite the bullet and just find and replace all the calls to 'print' with something else. -M -------

Build CPAN Modules with Universal Binaries on Mac OS X

2007-11-01 Thread Matisse Enzer
missing some obvious documentation on this? --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Passing MakeMaker args to Makefile.PL in subdirectory

2007-11-02 Thread Matisse Enzer
fno- strict-aliasing -I/usr/local/include in other words it is missing: -arch ppc -arch i386 So, is this a bug in me, MakeMaker, or XML::Parser's Makefile.PL ? --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Passing MakeMaker args to Makefile.PL in subdirectory

2007-11-02 Thread Matisse Enzer
n of auto/XML/Parser/ Expat/Expat.bundle that contains code for both ppc and i386. ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Passing MakeMaker args to Makefile.PL in subdirectory

2007-11-09 Thread Matisse Enzer
Looks like this is a known bug in MakeMaker: #28632: MakeMaker does not set Makefile variables recursively http://rt.cpan.org/Ticket/Display.html?id=28632 --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-14 Thread Matisse Enzer
On Nov 13, 2007, at 9:19 PM, A. Pagaltzis wrote: So if you use any module from the CPAN, you should list it explicitly, not imply it via the main module of its containing distro. Yes, exactly. --- Matisse Enzer <[EMAIL PROTECTED]>

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-17 Thread Matisse Enzer
x27; => '0.66' }, ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-18 Thread Matisse Enzer
in Makefile.PL / Build.PL ----------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: My list of small quirks

2007-11-18 Thread Matisse Enzer
t failure. -M ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Test quality

2007-11-18 Thread Matisse Enzer
= set_up(); # do some assertions using $foo return tear_down($foo); } sub test_baz { my $foo = set_up(); # do some assertions using $foo return tear_down($foo); } # ------- Matisse Enzer <[EMAIL PROT

Re: My list of small quirks

2007-11-19 Thread Matisse Enzer
On Nov 19, 2007, at 1:36 AM, Ovid wrote: - Original Message From: Matisse Enzer <[EMAIL PROTECTED]> This reminds me - I was wondering what it would take to implement a "BAIL_ON_FAIL" approach to running a test suite ... Should be fairly easy to implement w

Re: My list of small quirks

2007-11-19 Thread Matisse Enzer
patch. -M ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Matisse Enzer
? --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Matisse Enzer
modules into the install_base for the build. -M --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-21 Thread Matisse Enzer
On Nov 21, 2007, at 2:44 PM, Michael G Schwern wrote: Matisse Enzer wrote: I am looking for a way to run a fully-automated CPAN build (using CPAN::Shell) of a local Perl module and its dependencies, but, I need to make REMOVE some directories from the compiled-in @INC during the build

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-22 Thread Matisse Enzer
Is the code for implementing this metric available now? I'm interested in using it to create a utility that generates the appropriate entries in a form suitable for use in Build.PL and Makefile.PL format. --- Matisse Enzer <[EMAIL P

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-23 Thread Matisse Enzer
;, name => 'DBD::mysql', extra_args => ['install'], diag => 'notest install of DBD::mysql so we do not need a database.' }, ); return @modules; } --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-23 Thread Matisse Enzer
#Configuration_for_individual_distributions_(Distroprefs) --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-23 Thread Matisse Enzer
;t happen: $CPAN::Perl = "$^X -M'INC::Surgery'"; # Will not get "safe_quote" --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread Matisse Enzer
On Nov 24, 2007, at 5:00 AM, demerphq wrote: On Nov 23, 2007 11:36 PM, Matisse Enzer <[EMAIL PROTECTED]> wrote: I think it is actually $CPAN::Perl and, if the value you use contains any whitespace the entire command will get quoted, which could break things. I think this is becau

Re: Ignoring parts of compiled-in @INC during CPAN builds

2007-11-24 Thread Matisse Enzer
'configure_requires' => { 'DBI' => '1.58' } } }; my $prefs_file = File::Spec->catfile( $settings->{cpan_prefs_dir}, 'DBD- mysql.yml' ); return YAML::Syck::DumpFile( $prefs_file, $cpan_prefs ); } --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Milton Keynes PM coding collaboration

2007-12-15 Thread Matisse Enzer
http://search.cpan.org/dist/Perl-Metrics-Simple/ -Matisse --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: What's the point of a SIGNATURE test?

2007-12-16 Thread Matisse Enzer
n test. --- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Auto: Your message 'FAIL IO-AIO-2.51 i386-freebsd-thread-multi 6.2-release' has NOT been received

2007-12-18 Thread Matisse Enzer
rac/wiki/ScreenShots ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

Re: Auto: Your message 'FAIL IO-AIO-2.51 i386-freebsd-thread-multi 6.2-release' has NOT been received

2007-12-22 Thread Matisse Enzer
27;$^X' has no spaces in the path} ) || BAIL_OUT(q{Cannot install.}); ------- Matisse Enzer <[EMAIL PROTECTED]> http://www.matisse.net/ - http://www.eigenstate.net/

  1   2   >