File: TestAppBasic.pm

package info (click to toggle)
libcgi-application-plugin-configauto-perl 1.33-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 100 kB
  • sloc: perl: 85; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package TestAppBasic;

use strict;

use CGI::Application;
@TestAppBasic::ISA = qw(CGI::Application);

use CGI::Application::Plugin::ConfigAuto (qw/cfg cfg_file/);

sub setup {
    my $self = shift;

    $self->start_mode('test_mode');

    $self->run_modes(test_mode => 'test_mode' );
}

sub test_mode {
  my $self = shift;
  return 1;
}


1;