blob: c5daa374251815aeee69832008891b20b2793373 (
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
25
26
|
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;
our $VERSION = '2.4';
sub new {
my $class = shift;
my $self = $class->_parse_opts(@_);
$self->{fname} = basename( (caller(0))[1] );
return bless $self, $class;
}
1;
|