"Simple Ways To Be A Better Programmer' as presented at OSCON 2007 by Michael G Schwern.
The audio is still out of sync, working on it. Downloading will be available once the sync is done.
51. > Thank you for your note. Opera is
> not a supported browser.
52. Why not? I see absolutely no reason to
exclude Opera from the list of
supported browsers.
When I tell Opera to ID as Firefox, it
works as expected. No patches needed.
So please get back in sync with the
real world and also enable Opera.
53. Topic for #eve is: Corp meeting on Vent: Saturday 14th and 21st
at 16:00 EVE time. All hands on deck! :-)
54. <wibble> Announcing quot;all hands on deckquot; without announcing *why* is not
useful.
<wibble> I get enough shit from work, I certainly don't need any more
from a corp on Eve.
<wibble> just irritated at people telling me what I *have* to do.
55. On Wed, May 09, 2007 at 08:34:52PM -0700, Michael G Schwern wrote:
> I'm sorry, but that's the automated failure report from CPAN::Reporter.
> I was doing an automated install.
56. What can I do to force automated junk mailers
to follow my policy of bug reports?
57. Speak with the CPAN::Reporter folks about what you would like to see in the
failed install report. Perhaps they can add in the Makefile.PL and make
output to the automatic report. This would be helpful, especially for
complicated builds like yours. Perhaps you could change your test
files so they automatically output the diagnostics you want on failure rather
than rely on the user to sift through the INSTALL docs to find the special
instructions
104. ----------------------------------------------------------------------
r32185: schwern | 2007-06-29 18:22:55 -0700
Need a blank line preceeding POD directives.
----------------------------------------------------------------------
=== local/Test-Simple/lib/Test/Builder.pm
==================================================================
--- local/Test-Simple/lib/Test/Builder.pm (revision 32184)
+++ local/Test-Simple/lib/Test/Builder.pm (revision 32185)
@@ -983,6 +983,7 @@
# I'm not ready to publish this. It doesn't deal with array return
# values from the code or context.
+
=begin private
=item B<_try>
105. ----------------------------------------------------------------------
r27706: schwern | 2007-03-16 15:19:55 -0700
Add a test to ensure an object can lie about being an IO::Handle.
----------------------------------------------------------------------
=== local/Test-Simple/t/is_fh.t
==================================================================
--- local/Test-Simple/t/is_fh.t (revision 27705)
+++ local/Test-Simple/t/is_fh.t (revision 27706)
@@ -11,7 +11,7 @@
}
use strict;
-use Test::More tests => 10;
+use Test::More tests => 11;
use TieOut;
ok( !Test::Builder->is_fh(quot;fooquot;), 'string is not a filehandle' );
@@ -34,3 +34,15 @@
unless defined *OUT{IO};
ok( Test::Builder->is_fh(*OUT{IO}) );
}
+
+
+package Lying::isa;
+
+sub isa {
+ my $self = shift;
+ my $parent = shift;
+
+ return 1 if $parent eq 'IO::Handle';
+}
+
+::ok( Test::Builder->is_fh(bless {}, quot;Lying::isaquot;));
106. ----------------------------------------------------------------------
r27705: schwern | 2007-03-16 15:10:39 -0700
Comment about the nature of the filehandle in is_fh() was backwards.
----------------------------------------------------------------------
=== local/Test-Simple/lib/Test/Builder.pm
==================================================================
--- local/Test-Simple/lib/Test/Builder.pm (revision 27704)
+++ local/Test-Simple/lib/Test/Builder.pm (revision 27705)
@@ -1025,8 +1025,8 @@
my $maybe_fh = shift;
return 0 unless defined $maybe_fh;
- return 1 if ref $maybe_fh eq 'GLOB'; # its a glob
- return 1 if ref $maybe_fh eq 'GLOB'; # its a glob ref
+ return 1 if ref $maybe_fh eq 'GLOB'; # its a glob ref
+ return 1 if ref $maybe_fh eq 'GLOB'; # its a glob
return eval { $maybe_fh->isa(quot;IO::Handlequot;) } ||
# 5.5.4's tied() and can() doesn't like getting undef
163. • Get account activated
• Make simple test purchase
• Handle invalid expiration date
• Handle invalid address
• Record transactions
• Associate item with purchase
• Simple user form