Add lines of #'s between functions.

This commit is contained in:
Bradley M. Kuhn 2018-07-22 14:35:20 -07:00
parent 0f0b60eada
commit 0170039053

View file

@ -13,6 +13,7 @@ use Date::Manip qw(ParseDate UnixDate);
my($PAYMENT_DIR, $VERBOSE, $INTERACTIVE, $PAYMENT_NUMBER, $RT_CMD);
###############################################################################
sub FindUniqueTicket(@) {
my @searchTerms = @_;
open(my $rtLsFH, "-|", "$RT_CMD", "ls", "-i", 'Queue = outreachy-interns AND ' .
@ -31,6 +32,7 @@ sub FindUniqueTicket(@) {
close $rtLsFH;
return $ticketSpec;
}
###############################################################################
sub PaymentDateByTicket($$) {
my($ticketSpec, $paymentNumber) = @_;
open(my $rtPayFH, "-|", "$RT_CMD", "show", "-f", 'CF.{payment-' . $paymentNumber . '-sent}', $ticketSpec);
@ -45,6 +47,7 @@ sub PaymentDateByTicket($$) {
close $rtPayFH;
return $date;
}
###############################################################################
sub LedgerTagFromTicket($$) {
my($ticketSpec, $tag) = @_;
open(my $rtPayFH, "-|", "$RT_CMD", "show", "-f", 'CF.{ledger-tags}', $ticketSpec);
@ -59,6 +62,7 @@ sub LedgerTagFromTicket($$) {
close $rtPayFH;
return $tagValue;
}
###############################################################################
GetOptions("paymentDir=s" => \$PAYMENT_DIR, "verbose=i" => \$VERBOSE, "interactive" => \$INTERACTIVE,
"paymentNumber=i" => \$PAYMENT_NUMBER, "rtCommand=s" => $RT_CMD);