aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/App.pm
blob: c9e0fdfc06ce207a578f9381e2b8f4c265db96d6 (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.5';

sub new {
  my $class = shift;

  my $self = $class->_parse_opts(@_);
  $self->{fname} = basename( (caller(0))[1] );

  return bless $self, $class;
}

1;