File: app_feature.pl

package info (click to toggle)
libnetsds-perl 1.301-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 292 kB
  • ctags: 159
  • sloc: perl: 1,516; makefile: 13
file content (30 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env perl 

MyApp->run(
	daemon => 0,
	conf_file => './app_feature.conf',
	auto_features => 1,
);

1;

package MyApp;

use 5.8.0;
use warnings;
use strict;

use Data::Dumper;

use base 'NetSDS::App';

sub process {
	my ($this) = @_;

	print Dumper($this);

	$this->dbh->log("info", "feature logging");

}

1;