1264 |
if (!$package) { |
if (!$package) { |
1265 |
$category = "main"; |
$category = "main"; |
1266 |
} else { |
} else { |
1267 |
$category = $package; |
my @cats = split /::/, $package; |
1268 |
|
$category = $cats[$#cats]; |
1269 |
} |
} |
1270 |
} |
} |
1271 |
# Save the category name. |
# Save the category name. |
1773 |
sub Confess { |
sub Confess { |
1774 |
# Get the parameters. |
# Get the parameters. |
1775 |
my ($message) = @_; |
my ($message) = @_; |
1776 |
|
if (! defined($FIG_Config::no_tool_hdr)) { |
1777 |
|
# Here we have a tool header. Display its length so that the user can adjust the line numbers. |
1778 |
|
my @lines = GetFile("$FIG_Config::common_runtime/tool_hdr"); |
1779 |
|
Trace("Tool header has " . scalar(@lines) . " lines."); |
1780 |
|
} |
1781 |
# Trace the call stack. |
# Trace the call stack. |
1782 |
Cluck($message); |
Cluck($message); |
1783 |
# Abort the program. |
# Abort the program. |
3181 |
return $retVal; |
return $retVal; |
3182 |
} |
} |
3183 |
|
|
3184 |
|
|
3185 |
1; |
1; |