package SBO::App; # vim: ts=2:et # # authors: Luke Williams # Jacob Pipkin # Andreas Guldstrand # maintainer: Slack Coder use 5.16.0; use strict; use warnings FATAL => 'all'; use File::Basename; our $VERSION = '2.9.0'; sub new { my $class = shift; my ($self, $res) = $class->_parse_opts(@_); $self->{fname} = basename( (caller(0))[1] ); my $obj = bless $self, $class; if (! $res ) { $obj->show_usage(); exit 1; } return $obj; } 1;