git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dc2272f
)
Base: Add module name to error and debug output
author
Ralf Ertzinger
<ralf@skytale.net>
Wed, 8 Jun 2011 18:39:24 +0000
(20:39 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Wed, 8 Jun 2011 18:39:24 +0000
(20:39 +0200)
videosite/Base.pm
patch
|
blob
|
history
diff --git
a/videosite/Base.pm
b/videosite/Base.pm
index
93ac841
..
855cb47
100644
(file)
--- a/
videosite/Base.pm
+++ b/
videosite/Base.pm
@@
-23,9
+23,11
@@
sub new {
sub error {
my $self = shift;
- my $t;
+ my @data = @_;
+
+ $data[0] = "(" . ref($self) . ") " . $data[0];
- $self->{'_OUT'}(@
_
);
+ $self->{'_OUT'}(@
data
);
}
sub debug {