Mark Stosberg wrote:
>
> When Perl 5 has references and Perl 6 doesn't, I don't know what to
> expect to when I need to pass a hash reference to a Perl 5 routine.
>
> Such details make no appearance currently in the Perl 6 spec, but I'm
> trying to gather them on
Brad Bowman wrote:
>
> Both Data::Dumper and Storable provide hooks to customize serialization
> ($Data::Dumper::Freezer|Toaster, STORABLE_freeze|_thaw).
> Other modules like YAML and Clone could also possibly reuse a
> common state marshalling interface.
>
> Is there some common element to this
Mark J. Reed wrote:
> Ok, I dkimmed through the synopses again and didn't see this offhand.
>
> If I have two arrays @a and @b and I wish to create a two-element list
> out of them - a la Perl5 ([EMAIL PROTECTED], [EMAIL PROTECTED]) - what's the
> correct way to do
> that in Perl6? If it's stil
Juerd wrote:
>
> It does make sense to have a single toolkit that does all this. It does
> not make sense to have a single .pm that does all this. There's
> absolutely no need for having all these different tasks in one module.
> There's not even any benefit. You can just as well use a couple of
>
Darren Duncan wrote:
> Putting aside legacy issues for the moment,
>
> I suggest that it might be appropriate to rename the .grep list operator
> to .where, so we can say, for example:
>
> @filtered = @originals.where:{ .foo eq $bar };
>
> We already have a "where" keyword in the language, whi
Aankhen wrote:
>
> The major feeling was that there should be no CGI.pm (if someone was
> hellbent on using it, they could use the Perl 5 module).
In theory, "use perl5:CGI" could be a fine solution. In practice, it
hasn't worked out well for me. Even something that seems simple like
passing a h
Hello,
As I've worked on smart linking, I've found some gaps in the spec, often
of the variety of "obvious" parts that should largely work the same as
Perl 5. For example, "say" was formally spec'ed until recently, or
"print" for that matter.
I have a suggestion which I believe make the docs mo
Juerd wrote:
>
> Please note that eventually, perl5:CGI is supposed to work as expected.
For that to happen, there will first have be some documentation telling
me what expectations to have.
When Perl 5 has references and Perl 6 doesn't, I don't know what to
expect to when I need to pass a hash
David Cantrell wrote:
>
> I wonder how many people really use the HTML-generating bits of CGI.pm?
> I know I never have, nor have they been used that I can remember
> anywhere that I've worked, or in any of the non-work projects I've
> collaborated in. It's always been 'print ""' or more recently
Aankhen wrote:
>
> The major feeling was that there should be no CGI.pm (if someone was
> hellbent on using it, they could use the Perl 5 module).
In theory, "use perl5:CGI" could be a fine solution. In practice, it
hasn't worked out well for me. Even something that seems simple like
passing a h
Juerd wrote:
>
> Personally, I am *against* HTML generating for elements that are not
> form fields. And for form fields, I think the solution should be in the
> templating thing, not elsewhere. Stickiness makes sense on invalid data
> only anyway, and we need to put the error message and a pointer
>
> I agree completely. In that vein, I think that one thing a lot of web
> developers would like to have available more easily would be session
> management. In PHP it's as simple as $_SESSION['key'] = 'value'. I
> understand that CGI.pm is a fundemantally different concept from PHP and
> tha
Audrey Tang wrote:
>
> 在 Sep 11, 2006 2:07 PM 時,Trey Harris 寫到:
>
>> In a message dated Mon, 11 Sep 2006, Richard Hainsworth writes:
>>> I am trying to find out how to use (in perl6) perl5 modules that
>>> contain subroutines.
>>
>> Imports from Perl 5 modules don't currently work.
>
> Actually,
Larry Wall wrote:
>
> I'm trying to decide if
>
>sub ($self: $just_a_named_param)
>
> can meaningfully put anything into $self. It seems doubtful, and it should
> probably be
>
>submethod ($self: $just_a_named_param)
I agree. If
sub ($self: $foo)
works than it reduces privacy, sinc
Mark Stosberg wrote:
> The formal definition of "Inf" appears to be missing from the spec
> documents. Since I'm not exactly sure how Perl 6 treats "Inf", I'll
> leave submitting this patch to someone else.
>
> Once the spec is added, a smart link
Mark Stosberg wrote:
> The formal definition of "Inf" appears to be missing from the spec
> documents. Since I'm not exactly sure how Perl 6 treats "Inf", I'll
> leave submitting this patch to someone else.
>
> Once the spec is added, a smart link
The formal definition of "Inf" appears to be missing from the spec
documents. Since I'm not exactly sure how Perl 6 treats "Inf", I'll
leave submitting this patch to someone else.
Once the spec is added, a smart link to it should be added from:
t/builtins/math/infinity.t
Mark
Darren Duncan wrote:
> P.S. I originally sent this to just Mark Stosberg yesterday, and he
> suggested I sent it to perl6-users for more exposure, so here it is,
> slightly edited.
And here is my reply to Darren, slightly edited.
I'm only interested in CGI.pm so much as it holds
I'll hold up some error handling in CGI::Application as "use case" some
for some CATCH spec refinements. The Perl 5 code is below for reference.
First, we handle the exception conditionally based /not/ on the
exception itself, but whether we have an exception handle installed
to deal with it. Is i
Trey Harris wrote:
> markstos++ pointed out the following behavior:
>
> use v6-alpha;
>
> {
> when 1 ~~ 0 {
> say "Surprise!"
> }
> }
>
> This code prints "Surprise!", because $_ is undef, which is false, just
> like 1 ~~ 0 is.
>
> I'd like to make the following suggestions
I found 6 references to "gather" in Perl6/Spec/*, but none of them were
a formal definition.
It would great if an official entry for gather/take could be added.
Mark
Brad Bowman wrote:
> Mark Stosberg wrote:
>> In the Objects chapter, a WALK pseudo-class is spec'ed for using
>> when calling sets of methods:
>>
>> http://feather.perl6.nl/syn/S12.html#Calling_sets_of_methods
>>
>> These are the arguments listed that
In the Objects chapter, a WALK pseudo-class is spec'ed for using
when calling sets of methods:
http://feather.perl6.nl/syn/S12.html#Calling_sets_of_methods
These are the arguments listed that can be used with WALK:
:canonical # canonical dispatch order
:ascendant # most-deri
Mark Stosberg wrote:
> S12 describes a feature to call sets of methods at the same time:
>
> http://feather.perl6.nl/syn/S12.html#Calling_sets_of_methods
>
> I would like the spec to clarify what happens to the return values of
> all these methods.
>
> I'm fine
Luke Palmer wrote:
> I don't follow your examples. What is the logic behind them?
>
> On 9/3/06, Mark Stosberg <[EMAIL PROTECTED]> wrote:
>> Examples:
>>Arguments (<1 2>) to signatures 1. (@a?) and 2. (@a) calls 2
>
> For example, I would ex
S12 describes a feature to call sets of methods at the same time:
http://feather.perl6.nl/syn/S12.html#Calling_sets_of_methods
I would like the spec to clarify what happens to the return values of
all these methods.
I'm fine with a simple answer, such as that they are not available, or
only th
Mark Stosberg wrote:
> Hello,
>
> I think it would helpful if the spec addressed "who wins" in MMD when
> optional arguments are present.
>
> I just submitted these failing tests for pugs which illustrate the
> issue.
>
> not ok 11 - Arguments (a => '
Mark Stosberg wrote:
> Hello,
>
> I think it would helpful if the spec addressed "who wins" in MMD when
> optional arguments are present.
>
> I just submitted these failing tests for pugs which illustrate the
> issue.
>
> not ok 11 - Arguments (a => '
Hello,
I think it would helpful if the spec addressed "who wins" in MMD when
optional arguments are present.
I just submitted these failing tests for pugs which illustrate the
issue.
not ok 11 - Arguments (a => 'b') to signatures 1. () and 2. (*%h) calls 2
not ok 14 - Arguments () to signatures
Mark Stosberg wrote:
>
> &::($meth)(self:);
Well, audreyt just made this work (r12960), which I what I what
I thought should work in the first place:
self.$meth().
So I'm happy. (But my curiosity about the spec for symbolic refs and OO
still stands. )
Mark
In reading about symbolic references, I didn't find any specific
language that mentioned using them in conjunction with methods or OO. I
would like to see specific language and examples added to the spec to
clarify this.
Here's a specific example which currently doesn't work in pugs.
It's attempti
Agent Zhang wrote:
>
> According to S04, given {} is at statement level, so you can't use it
> directly as an expression. But Perl 6 always allow you to say
>
> my $foo = do given {...}
>
> As well as
>
> my $foo = do if foo {...} else {...}
I confirmed this both work now with pugs!
I thin
Sometimes I use 'given' blocks to set a value. To save repeating myself
on the right hand side of the given block, I found I kept want to do this:
my $foo = given { }
...and have whatever value that was returned from when {} or default {}
populate $foo.
It turns out pugs already allow this, thr
Trey Harris wrote:
>
>
> Slurpy parameters follow any required or optional parameters. They are
> marked by a C<*> before the parameter:
>
> sub duplicate($n, *%flag, [EMAIL PROTECTED]) {...}
>
> Named arguments are bound to the slurpy hash (C<*%flag>
> in the above example). Such
Regarding The S06 description of named arguments:
http://feather.perl6.nl/syn/S06.html#Named_arguments
What I find missing here is documentation of the signature to use
if you want to declare "I accept an arbitrary number of named
arguments". (Like the param() methods common in Perl5 do).
Maybe
I'm interested in helping to write some tests for "return types", but
I'd like some clarifications about them first. Are they just
"declarations" that help Perl optimize stuff, or they actually contracts?
As this little script shows, both "inner" and "of" are valid syntax now
with pugs, but neithe
First, what's the recommended reference for learning how dispatching to
the right 'multi' sub is resolved. ?
I'd like to know the expected behavior in this case:
multi sub foo () { say "b: " }
multi sub foo () { say "a: " }
foo();
I would expect it would throw an error or at least a warning, sin
Perl6::Spec::Documentation is a draft spec for documentation formats for
use with Perl6.
My own reading of it is that POD still exists and is supported, while a
new wiki-like format "kwid" is added, and a framework for various
dialects is supported.
POD was successful for its simplicity. It was
I noticed in pugs, 'ref' does not return 'HASH' and 'ARRAY' as Perl5
does, but returns values including 'Hash', 'Array' and 'Array::Const'.
I don't find meaningful mentions of 'HASH' and 'ARRAY' by grep'ing
docs/Perl6 (or even "ref"!), so I wanted to check in here about the
meaningfulness of this
In S12, we see a number examples of:
class Dog is Mammal
http://dev.perl.org/perl6/doc/design/syn/S12.html
However, it's not clear if it is necessary to preload Mammal for Dog
to function properly here, or what that syntax would be.
Testing with current version of pugs, this doesn't happen.
In Perl6/Spec/Operator.pod
"Trinary" should be "Ternary".
Mark
On 2005-07-09, Nik Clayton <[EMAIL PROTECTED]> wrote:
> http://qa.perl.org/phalanx/kwalitee.html says:
>
> What is kwalitee?
>
> Kwalitee is inexact quality. We don't know exactly what it is,
> but we know it when we see it.
>
> Isn't that backwards? I thought 'kwalitee' was suppos
(This message is targeted at the Test::WWW::Selenium maintainers, but I
think the response will be of interest to others here ).
I've got a test suite built with Selenium, but I would like to the
output in TAP to centralize the reporting, perhaps using Smolder once I
Smolder installed.
It appear
On 2006-03-05, Michael Peters <[EMAIL PROTECTED]> wrote:
>
>
> Yuval Kogman wrote:
>> On Sat, Mar 04, 2006 at 09:09:00 -0500, Michael Peters wrote:
>>> It's very similar in nature to the Pugs smoke test server, but is completely
>>> project agnostic. It's also completely self contained (contains lo
Here's my test-first TODO test management paradox:
If I write a failing test and share it through the central repo,
the smoke bot fails and keeps sending us e-mail until it is fixed,
which can be annoying when these are un-implemented features and not
bugs. The effect can be quit paying attention
On Tue, Dec 13, 2005 at 02:01:18PM -0500, Michael Peters wrote:
> >>>It uses (among other things) Test::TAP::Model and
> >>>Test::TAP::HTMLMatrix, and uses YAML as an intermediate test-run format.
> >>
> >>Actually, Test::TAP::HTMLMatrix is what I currently use for test reports
> >>that
> >>get e
On 2005-11-22, Michael Peters <[EMAIL PROTECTED]> wrote:
>
>
> Stevan Little wrote:
>> Michael,
>>
>> You might want to look at some of the work on the Pugs test suite.
>>
>> http://m19s28.vlinux.de/cgi-bin/pugs-smokeserv.pl
>>
>> It uses (among other things) Test::TAP::Model and
>> Test::TAP::
Now that I'm using Selenium, I wanted to integrate some of the perl
testing tools I already like.
http://selenium.thoughtworks.com/
I found one way to do this was to create a test script that runs as a
CGI script. Adding just one line to the top of the script allows it to
run from the web or fro
On 2005-12-07, Mark Stosberg <[EMAIL PROTECTED]> wrote:
>>
>> Limitations and Caveats with the system:
>>
>> * Scripts that muck about with STDIN, STDOUT or STDERR will probably
>>have problems.
>>
>> * The usual persistent environment cave
Hello,
So I'm now using and liking Selenium after several recommendations from
this list. I'm interested to know how other people integrate it with a
traditional perl test suite. It seems like there are two possibilities:
http://selenium.thoughtworks.com/
1. Use "prove" as the primary test sui
On 2005-12-05, Michael Graham <[EMAIL PROTECTED]> wrote:
>
> This should be compatible with regular (non-PersistentPerl) use as well.
>
> ...
>
> Limitations and Caveats with the system:
>
> * Scripts that muck about with STDIN, STDOUT or STDERR will probably
>have problems.
>
> * The usual p
On 2005-11-02, Luke Closs <[EMAIL PROTECTED]> wrote:
>
> Also, yesterday Test::WWW::Selenium was uploaded to CPAN, so Selenium
> can now be driven by perl!
Test::WWW::Selenium seems interesting, but I could use an example it
would be useful to use, versus the standard techniques.
From the docs,
On 2005-11-28, Ovid <[EMAIL PROTECTED]> wrote:
> --- Mark Stosberg <[EMAIL PROTECTED]> wrote:
>
>> What are other folks doing to test web applications that make heavy
>> use
>> of JavaScript?
>
> If you want to leverage your Perl testing knowledge,
It used to be that WWW::Mechanize was a "good enough" testing tool for
my web applications.
It doesn't do Javascript, but I used very minimal
Javascript and thus worked around that limitation.
Along comes AJAX. It offers benefits that make JavaScript seem worth
using.
But now how I can test t
Hello,
I help test the darcs ( http://www.darcs.net/ ) binary with Perl. The
code itself is written in Haskell, but that doesn't matter here.
A developer had an interesting request, which I would like to pursue.
Where there is a test failure in the Perl test script, he would like to
look at a se
On Sat, Jun 04, 2005 at 02:10:37AM -0700, Michael G Schwern wrote:
> On Fri, Jun 03, 2005 at 02:04:50PM -0500, Pete Krawczyk wrote:
> > }How can I use 'prove' and Devel::Cover together? I tried:
> >
> > HARNESS_PERL_SWITCHES=-MDevel::Cover prove file.t
>
> Kinda surprised there's not a --cover s
On 2005-07-08, Michael G Schwern <[EMAIL PROTECTED]> wrote:
>
>> PS. An AnnoCPAN tip: Notice that if you are an author, you can subscribe
>> to all comments on your modules:
>> http://www.annocpan.org/~MARKSTOS/recent.rss
>
> Not knowing anything about RSS I put the URL into Firefox and it asked me
If you haven't see AnnoCPAN, it's a new way to share comments on Perl
POD:
Example:
http://www.annocpan.org/dist/Net-ICal-0.15/lib/Net/ICal.pm
I have an idea about taking it a step further-- making it easier to
close the loop with the author to integrate updates.
CPAN documentation could be st
t have meaningful data on them and aren't synchronized (STDOUT
and STDERR).
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
Hello,
I'd like to use Test::TAP::HTMLMatrix to better visualize the state of
large test runs.
However, I can't tell from the docs how to run the test suite such that
it gets involved in the process. Could someone provide an example?
Thanks!
Mark
--
http://mark.stosberg.com/
On 2005-06-04, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 03, 2005 at 02:04:50PM -0500, Pete Krawczyk wrote:
>> }How can I use 'prove' and Devel::Cover together? I tried:
>>
>> HARNESS_PERL_SWITCHES=-MDevel::Cover prove file.t
>
> Kinda surprised there's not a --cover switch.
I w
Ok, I'm feeling brain dead about this one-- this seems easy but I'm
missing it.
How can I use 'prove' and Devel::Cover together? I tried:
perl -MDevel::Cover prove ...
but didn't cover the scripts that ran.
Mark
On 2005-04-05, Mark Stosberg <[EMAIL PROTECTED]> wrote:
> This is how I figured out how to test a cookie with WWW::Mechanize:
>
> my $ses_id_from_cookie =
> $a->cookie_jar->{COOKIES}->{".$CFG{SITE_DOMAIN}"}->{'/'}->{CGISESSID}->[1];
>
This is how I figured out how to test a cookie with WWW::Mechanize:
my $ses_id_from_cookie =
$a->cookie_jar->{COOKIES}->{".$CFG{SITE_DOMAIN}"}->{'/'}->{CGISESSID}->[1];
ok($ses_id_from_cookie, "admin - Login screen sets cookie
($ses_id_from_cookie)");
Surely there is an easier/better way th
uot;Internal Server Error" than a normal result page.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
On 2005-04-01, George Nistorica <[EMAIL PROTECTED]> wrote:
>
> For commands that need more than one input (i.e. shell installers) you
> can use the Expect module, which you can use to test such programs, that
> wait your input for more than one time.
Thanks for the tip. It led me to Test::Expect,
On 2005-04-01, George Nistorica <[EMAIL PROTECTED]> wrote:
>
> For commands that need more than one input (i.e. shell installers) you
> can use the Expect module, which you can use to test such programs, that
> wait your input for more than one time.
Thanks for the tip. It led me to Test::Expect,
On 2005-04-01, Michael G Schwern <[EMAIL PROTECTED]> wrote:
>> commands with Perl?
>
> When using open2 you have to be careful to close WRITE before you READ so
> the program does not hang waiting for more input. Once you've fixed that
> the technique above should be just fine.
>
> sub echo {
>
r two people something
got slightly off, causing the test to hang indefinitely.
Windows users weren't having problems with the first method, so maybe I
should just go back to that.
I'm I missing an easier and less fragile way to test interactive
commands with Perl?
Thanks!
Mark
Tue Mar 29 09:23:05 EST 2005 Mark Stosberg <[EMAIL PROTECTED]>
* add modules/README to darcsworld
I see several other files that are in SVN, that didn't show
up in darcs when I sync'ed this morning.
In particular, there are several more 'Algorithm-*' modul
Mon Mar 28 12:13:41 EST 2005 Mark Stosberg <[EMAIL PROTECTED]>
* add PORTING_HOWTO to darcs.
Mon Mar 28 12:19:27 EST 2005 Mark Stosberg <[EMAIL PROTECTED]>
* add request for specific example subroutine signature porting
Mon Mar 28 12:24:10 EST 2005 Mark Stosberg <[
Mon Mar 28 12:13:41 EST 2005 Mark Stosberg <[EMAIL PROTECTED]>
* add PORTING_HOWTO to darcs.
Mon Mar 28 12:15:36 EST 2005 Mark Stosberg <[EMAIL PROTECTED]>
* add p5 -> p6 hash sigil change
New patches:
[add PORTING_HOWTO to darcs.
Mark Stosberg <[EMAIL PROTECTED
On 2005-03-19, Andy Lester <[EMAIL PROTECTED]> wrote:
>
> login: { # block to define
> how to log in
>url m|https?://james.bond.edu.au/.*| or die "there is nothing to
> log in here"
> and fill uid $username
Sat Mar 19 16:23:21 EST 2005 Mark Stosberg <[EMAIL PROTECTED]>
* typo fix
New patches:
[typo fix
Mark Stosberg <[EMAIL PROTECTED]>**20050319212321]
<
> {
hunk ./ext/Pugs-Documentation/perlkwidspec.kwid 272
be ample room for people to make out-of-band hacks for specif
On 2005-03-14, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 14, 2005 at 01:25:16AM +0000, Mark Stosberg wrote:
>> I'm sorry-- I could have made this more productive by posting my own
>> Benchmark
>> code in the first place. Look what happens when
On 2005-03-13, Michael G Schwern <[EMAIL PROTECTED]> wrote:
>
> We can just check.
>
> $ perl -MBenchmark -wle 'timethis(10, sub { `perl -wle "rand for 1..100"`
> })'
> timethis 10: 11 wallclock secs ( 0.01 usr 0.00 sys + 8.64 cusr 0.14 csys =
> 8.79 CPU) @ 1000.00/s (n=10)
>
> So the tim
On 2005-03-13, Geoffrey Young <[EMAIL PROTECTED]> wrote:
>
> nevertheless, what you are replying to was just a discussion about a feature
> that doesn't exist in the standard Test::More toolkit but was brought up
> because Apache-Test's plan() works a bit differently and there are enough
> people w
On Sat, Mar 12, 2005 at 03:29:32PM -0800, Michael G Schwern wrote:
>
> Well, if you're just going to look at the wall clock, why use the shell?
Err...because I forgot about the simple 'time' command?
> my $start_time = time;
> `$bin diff 1/1 2>&1`;
> my $end_time = time;
>
darcs [1] is slow in a few places, and I'm working on benchmarking tool
in Perl to help monitor the performance. I'm got some questions about
the best way to proceed.
1. http://www.darcs.net/
So far: I've divided the task into a couple specific problems:
A. What repos to use for testing?
B. A
On Tue, Mar 08, 2005 at 05:48:28PM +, Fergal Daly wrote:
>
> In the case of though darcs though, is Perl just testing the output of
> commands that have been systemed? If so they could just add 2>&1 to the
> command line and then ignore stderr,
I thought that wouldn't be portable.
Mark
On 2005-03-08, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 08, 2005 at 05:27:34PM +, Fergal Daly wrote:
>> On Tue, Mar 08, 2005 at 04:56:08PM +, Mark Stosberg wrote:
>> > Hmm...maybe Test::Output just needs a new feature:
>> >
>> &g
On 2005-03-08, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 08, 2005 at 11:33:30AM -0500, Mark Stosberg wrote:
>> > I'd make life simpler and dump the shell scripts, see the note about
>> > cross-platform compatibility below.
>>
>> The
On 2005-03-08, Michael G Schwern <[EMAIL PROTECTED]> wrote:
>
> PS I took a look at one of the Perl tests (pull.pl) and its needlessly
> Unix-centric making lots of shell calls which can easily be done with
> Perl, particularly rm -rf and mkdir -p (File::Path). Best to make it
> cross-platform as
On Tue, Mar 08, 2005 at 08:23:31AM -0800, Michael G Schwern wrote:
>
> perl -MTest::Harness -e 'runtests @ARGV' tests/*.pl
Aha. Thanks.
> Why would you distribute a private copy of Test::Harness?
To use 'prove', which your example above illustrates I don't need.
> Or do you mean you
I have a fork of the 'testing non-modules' question. :)
I help maintain some Perl test scripts for darcs [1].
1. http://www.darcs.net/
Right now the tests are run one at a time, losing the benefit
of the summary report.
I got stuck trying to think of how to best make this work.
I don't thin
On 2005-03-04, Andy Lester <[EMAIL PROTECTED]> wrote:
> I've updated Test::WWW::Mechanize to add get_ok() and follow_link_ok()
> methods. If you've been writing
>
> $mech->get( $url );
> ok( $mech->success, 'Fetched home page' );
>
> you can now do that as
>
> $mech->get_ok( $mech->success,
On 2005-02-25, Michael G Schwern <[EMAIL PROTECTED]> wrote:
>
> I'm going to call a big, fat YAGNI on this one for the time being.
I looked that one up. :)
You Aren't Going to Need It.
http://c2.com/cgi/wiki?YouArentGonnaNeedIt
I like it.
Mark
--
http://mark.stosberg.com/
On 2005-02-20, Steffen Schwigon <[EMAIL PROTECTED]> wrote:
> Hi!
>
> General testing question:
>
> Is it ok for a CPAN module to use other modules from CPAN only for the
> test scripts (e.g. "Text::Diff")?
>
> First, I'm not sure about the usage policy. Maybe it's more common to
> write tests more
On 2005-02-18, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 18, 2005 at 01:13:05AM +0000, Mark Stosberg wrote:
>> On 2005-02-15, Clayton, Nik <[EMAIL PROTECTED]> wrote:
>> >
>> >ver 1.1
>>
>> If you go this route, I would
On 2005-02-15, Clayton, Nik <[EMAIL PROTECTED]> wrote:
>
>ver 1.1
If you go this route, I would make it clear whose emitting the version
string:
TAP version 1.1
###
Mark
--
http://mark.stosberg.com/
Hello,
Here's a story of how I've been able to improve the quality of my Perl
development process significantly:
Benefits of a Real World switch from CVS to darcs
http://mark.stosberg.com/Tech/darcs/cvs_switch/
Switching my source control system has made a big difference in my
ability t
On 2005-01-23, Ian Langworth <[EMAIL PROTECTED]> wrote:
> I'm attempting to create fancy HTML output from running a test suite
> and thought others might find this interesting. I've tried using
> Test::Harness::Straps to create a feedback report inspired by Tinderbox
> and BuildBot.
>
> ht
> On Mon, Dec 06, 2004 at 10:28:45PM -0600, Andy Lester wrote:
> I think even better than
>
> ok( $expr, "name" );
>
> or
>
> ok( $expr, "comment" );
>
> is
>
> ok( $expr, "label" );
>
> RJBS points out that "comment" implies "not really worth doing", and I
> still don't like "name" be
On 2004-12-02, Andy Lester <[EMAIL PROTECTED]> wrote:
> I've reorganized all the trees in http://svn.perl.org/phalanx. A
> description of how things should be is at
> http://svn.perl.org/phalanx/structure.pod.
I think I missed something. This clearly has something to do with SVN
hosting and the P
On 2004-11-05, Jeff Bisbee <[EMAIL PROTECTED]> wrote:
>
> I remember mentioning something to Andy, but at the time he didn't like
> it. I'm also curious how other folks run coverage, update modules
> and rerun coverage.
Using Module::Build, it's easy to run coverage:
./Build testcover [test opt
for
programming work that I didn't contribute to myself.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
sk factors"
4. Reward good estimates. :)
Comments?
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark StosbergPrincipal Developer
[EMAIL PROTECTED] Summersault, LLC
765-939-9301 ext 202 database driven websites
. . . . . http://www.summersault.com/ . . . . . . . .
uot;foo" } print err'
> Ambiguous call resolved as CORE::err(), qualify as such or use & at -e line 1.
> syntax error at -e line 1, at EOF
> Execution of -e aborted due to compilation errors.
This seems like an important difference. It would be nice if my 'err'
On 2004-11-01, chromatic <[EMAIL PROTECTED]> wrote:
> On Mon, 2004-11-01 at 07:45, Mark Stosberg wrote:
>
>> So, what resources are recommended to consult to make great estimates?
>> What habits to develop?
>
> I have two primary rules:
>
> 1) Don't make
speeds up a
lot of boring re-testing.
In part, I haven't been using automated testing as long as I've been
programming, so I simply don't have as much experience to pull from when
estimating it as a factor.
Mark
--
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark S
1 - 100 of 111 matches
Mail list logo