diff options
Diffstat (limited to '')
| -rwxr-xr-x | script/intentioncloud_create.pl | 14 |
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; |
