Alzabo
view release on metacpan or search on metacpan
lib/Alzabo/ChangeTracker.pm view on Meta::CPAN
$y = 2;
}
=head1 DESCRIPTION
The trick ...
We only want to have one object of this type at any one time. In
addition, only the stack frame that created it should be able to clear
it (except through a backout). Why? Here's an example in pseudo-code
to help explain it:
sub foo
{
create a tracker;
store some change info in the tracker;
call sub bar;
lib/Alzabo/Exceptions.pm view on Meta::CPAN
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td nowrap align="left" valign="top"><b>error:</b> </td>
<td align="left" valign="top" nowrap>$msg</td>
</tr>
<tr>
<td align="left" valign="top" nowrap><b>code stack:</b> </td>
<td align="left" valign="top" nowrap>
EOF
foreach my $frame ( $self->trace->frames )
{
my $filename = HTML::Entities::encode_entities( $frame->filename );
my $line = $frame->line;
$html .= "$filename: $line<br>\n";
}
$html .= <<'EOF';
</td>
</tr>
</table>
</body></html>
( run in 0.950 second using v1.01-cache-2.11-cpan-e1769b4cff6 )