On Tue, 4 Feb 2003, John Peacock wrote:

> I would suggest something like the attached which will manify only the files
> with some content.  perldoc will still be able to display the POD for the data
> files, if desired.

Looks good.

> p.s.  You also need to apply the following minor patch
>
> --- t/01load.t.orig     2003-02-04 22:49:35.000000000 -0500
> +++ t/01load.t  2003-02-04 22:49:48.000000000 -0500
> @@ -14,7 +14,4 @@ BEGIN
>
>   plan tests => 1;
>
> -BEGIN
> -{
> -    use_ok('DateTime::TimeZone');
> -}
> +use_ok('DateTime::TimeZone');
>
> since you cannot have the use_ok() wrapped in a BEGIN (since Test::More won't be
> loaded yet).

No, Test::More is loaded by the "use Test::More" line.  This is equivalent
to:

 BEGIN { require Test::More; Test::More->import; }


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to