Astro-satpass
view release on metacpan or search on metacpan
script/satpass view on Meta::CPAN
# Gets the suffix of the caller's name. All that this really does
# is to get the caller's name and use the length of the prefix
# argument to determine the number of characters to strip off the
# front. The optional $backoff argument says how many levels of
# call to back off; the default is 1, meaning to get the suffix
# of the caller.
sub _get_suffix {
my ( $prefix, $backoff ) = @_;
my $rtn = ( caller( $backoff || 1 ) )[3];
$rtn =~ s/ .* :: //smx;
$rtn =~ s/ \A _+ //smx;
$rtn = substr $rtn, length $prefix;
$rtn =~ s/ __ .* //smx;
$rtn;
}
# $string = _get_time ($name);
# Accessor for a time attribute. Returns '0' if the attribute is
( run in 0.227 second using v1.01-cache-2.11-cpan-cc502c75498 )