use namespace::autoclean;
has help_files_path => (
- is => 'ro',
- isa => Str,
- default => '/support/help/',
+ is => 'ro',
+ isa => Str,
+ default => '/support/help/',
);
has help_files_ext => (
sub get_help_text_for {
my ($self, $c, $help_key) = @_;
- confess ('No $c provided') unless $c;
- confess ('No $help_key provided') unless $help_key;
+ confess('No $c provided') unless $c;
+ confess('No $help_key provided') unless $help_key;
my $file_path = $c->path_to('root', $self->help_files_path.$help_key.$self->help_files_ext);
my $string = '';
}
1;
+