summaryrefslogtreecommitdiff
path: root/script/intentioncloud_create.pl
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-04-05 13:29:52 +0200
committerfranck cuny <franck@lumberjaph.net>2009-04-05 13:29:52 +0200
commit5d088f91ae74fed0e84950768600a5dc4055bedc (patch)
treea31894ed5ac5b2b2da419a4560ac7f6b35aa9725 /script/intentioncloud_create.pl
parentadd 2 requires (diff)
downloadintention-cloud-5d088f91ae74fed0e84950768600a5dc4055bedc.tar.gz
update scripts
Diffstat (limited to '')
-rwxr-xr-xscript/intentioncloud_create.pl14
1 files changed, 13 insertions, 1 deletions
diff --git a/script/intentioncloud_create.pl b/script/intentioncloud_create.pl
index abcc466..ceb3876 100755
--- a/script/intentioncloud_create.pl
+++ b/script/intentioncloud_create.pl
@@ -4,7 +4,19 @@ use strict;
use warnings;
use Getopt::Long;
use Pod::Usage;
-use Catalyst::Helper;
+eval "use Catalyst::Helper;";
+
+if ($@) {
+ die <<END;
+To use the Catalyst development tools including catalyst.pl and the
+generated script/myapp_create.pl you need Catalyst::Helper, which is
+part of the Catalyst-Devel distribution. Please install this via a
+vendor package or by running one of -
+
+ perl -MCPAN -e 'install Catalyst::Devel'
+ perl -MCPANPLUS -e 'install Catalyst::Devel'
+END
+}
my $force = 0;
my $mech = 0;