superlint/.automation/test/perl/perl_bad_1.pl

40 lines
1.4 KiB
Perl
Raw Normal View History

2020-02-04 09:49:58 -05:00
#!/usr/bin/perl
################################################################################
################################################################################
######### Script action @admiralawkbar #########################################
2020-02-04 09:49:58 -05:00
################################################################################
#############
# Load Libs #
#############
use strict;
##################
#### GLOBALS: ####
##################
my $state = undef; # State to return to GHE
my $exitCode = undef # Code to exit with
my $description = "Here it is"; # Description of the build
###############
#### MAIN: ####
###############
Header(); # Basic print statements
AnotherOne();
Again();
#######################################################################
#################### SUB ROUTINES BELOW ONLY ##########################
#######################################################################
#######################################################################
#### SUB ROUTINE Header ###############################################
sub Header
{
print "-------------------------------------------------------------------\n";
print "State:\[$state\]\n";
print "ExitCode:\[$exitCode\]\n";
print "Description:\[$description\]\n";
print "What:[$here]\n";
print "-------------------------------------------------------------------\n";
}