[Pdx-pm] Read only?

Kris Bosland krisb at ring.org
Sun Sep 17 14:27:39 PDT 2006


	Context is super-crazy, so it's hard to post.
This is a test in an application that I am testing with my test module
Test::Inline::No::Really.  I use

Pod::Tests		<- get tests out of pod blocks
Test::Builder		<- execute tests with eval (and capture output)
Test::Harness::Straps	<- parse test results to track how many passed and
			   failed

So these are eval'd blobs of text, package'd into the calling
package and using imported test functions, whos output is trapped in a
filehandle that goes to a scalar.

-Kris

On Sun, 17 Sep 2006, chromatic wrote:

> On Sunday 17 September 2006 13:48, Kris Bosland wrote:
>
> > this works:
> >
> > 	my @columns = @{$softtable->[3]};
> > 	is(join(' ',map { $_->{val} } @columns),"100","set1 first bin");
> >
> > So, it doesn't like my dereference notation for some reason.
>
> Odd; can you post a little more context?  The error message bothers me (in an
> anonymous subroutine?).
>
> -- c
>
>
> !DSPAM:450db9ee175311571813022!
>
>



More information about the Pdx-pm-list mailing list