blob: 3e600fec307463fa94a80bd03bc043b09a24bf22 (
plain)
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 SBO::App;
# vim: ts=2:et
#
# authors: Luke Williams <xocel@iquidus.org>
# Jacob Pipkin <j@dawnrazor.net>
# Andreas Guldstrand <andreas.guldstrand@gmail.com>
# license: WTFPL <http://sam.zoy.org/wtfpl/COPYING>
use 5.16.0;
use strict;
use warnings FATAL => 'all';
use File::Basename;
sub new {
my $class = shift;
my $self = $class->_parse_opts(@_);
$self->{fname} = basename( (caller(0))[1] );
return bless $self, $class;
}
1;
|