From: Marcus Ramberg Date: Wed, 18 Oct 2006 11:30:01 +0000 (+0000) Subject: push Dev check to compile time (in BEGIN) X-Git-Tag: 5.7099_04~322 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=4be02e43daf65f9ebe259601e54e4440acfe7b10 push Dev check to compile time (in BEGIN) --- diff --git a/script/catalyst.pl b/script/catalyst.pl index c25e38e..188c708 100755 --- a/script/catalyst.pl +++ b/script/catalyst.pl @@ -3,6 +3,7 @@ use strict; use Getopt::Long; use Pod::Usage; +BEGIN { eval " use Catalyst::Devel 1.0; "; if ($@) { @@ -17,6 +18,7 @@ vendor package or by running one of - END } +}; use Catalyst::Helper;