Re: threading a needle on TEST

2006-07-02 Thread Tom Allison
Tom Allison wrote: And so I'm really frustrated and not sure how it's all suppose to glue together for me, "Joe Developer" who is trying to just write some modules for my own personal use with the idea that some year I can release something to CPAN. But some of these tools don't quite gel to

Re: threading a needle on TEST

2006-07-02 Thread Tom Allison
Tom Phoenix wrote: On 7/2/06, Tom Allison <[EMAIL PROTECTED]> wrote: So I tried to run all the tests at once using: perl -T -I/home/tom/foo/lib t/* and it runs only the first one found Ignoring the other 4 test scripts. Perl's -T runtime switch doesn't mean "test"! :-) If you want to r

Re: threading a needle on TEST

2006-07-02 Thread Tom Phoenix
On 7/2/06, Tom Allison <[EMAIL PROTECTED]> wrote: So I tried to run all the tests at once using: perl -T -I/home/tom/foo/lib t/* and it runs only the first one found Ignoring the other 4 test scripts. Perl's -T runtime switch doesn't mean "test"! :-) If you want to run the full set of te

threading a needle on TEST

2006-07-02 Thread Tom Allison
OK, I'm trying to set up some tests and I'm just getting hammered on all these little niggly points. So many of them that I have to assume I'm doing something fundamentally wrong. I used module-starter to kick start my little project and I now have some files that are auto-generated for me.

Re: install cpan mini error

2006-07-02 Thread Hal Wigoda
i googled the error and a solution indicated to load the osx developer tools. so i did and that worked. On Jul 2, 2006, at 9:22 AM, Tom Phoenix wrote: On 7/1/06, Hal Wigoda <[EMAIL PROTECTED]> wrote: make: *** No rule to make target `/System/Library/Perl/5.8.6/darwin- thread-multi-2level/

Re: subroutine

2006-07-02 Thread Rob Dixon
Ryan Dillinger wrote: Hello, > I have a script here, that when I run it, it gives me this: Can't return outside a subroutine at tire.pl line 14. Can someone help me figure out what I'm doing wrong? Thank You very much for your help! #!/usr/bin/perl # tire.pl use warnings; package CreateTire

Re: install cpan mini error

2006-07-02 Thread Tom Phoenix
On 7/1/06, Hal Wigoda <[EMAIL PROTECTED]> wrote: make: *** No rule to make target `/System/Library/Perl/5.8.6/darwin- thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop. $ find /System/Library/Perl -name config.h /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/config.h

Re: subroutine

2006-07-02 Thread Mr. Shawn H. Corey
Ryan Dillinger wrote: > Hello, > I have a script here, that when I run it, it gives me this: Can't return > outside a > subroutine at tire.pl line 14. Can someone help me figure out what I'm > doing wrong? > Thank You very much for your help! > 8< snipped > return 1; This is the statement it's co

subroutine

2006-07-02 Thread Ryan Dillinger
Hello, I have a script here, that when I run it, it gives me this: Can't return outside a subroutine at tire.pl line 14. Can someone help me figure out what I'm doing wrong? Thank You very much for your help! #!/usr/bin/perl # tire.pl use warnings; package CreateTire; sub new { my $tire = {}