diff options
Diffstat (limited to 'SBO-Lib/lib/SBO/App.pm')
-rw-r--r-- | SBO-Lib/lib/SBO/App.pm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/SBO-Lib/lib/SBO/App.pm b/SBO-Lib/lib/SBO/App.pm new file mode 100644 index 0000000..c9e0fdf --- /dev/null +++ b/SBO-Lib/lib/SBO/App.pm @@ -0,0 +1,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; |