projects
/
catagits/HTML-Zoom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
dwim selects and bugfixes, new transform_attribute method and handled trailing '...
[catagits/HTML-Zoom.git]
/
lib
/
HTML
/
Zoom
/
StreamBase.pm
diff --git
a/lib/HTML/Zoom/StreamBase.pm
b/lib/HTML/Zoom/StreamBase.pm
index
a22158b
..
8fa8d53
100644
(file)
--- a/
lib/HTML/Zoom/StreamBase.pm
+++ b/
lib/HTML/Zoom/StreamBase.pm
@@
-98,4
+98,11
@@
sub to_html {
$self->_zconfig->producer->html_from_stream($self);
}
+sub AUTOLOAD {
+ my ($self, $selector, @args) = @_;
+ my $meth = our $AUTOLOAD;
+ $meth =~ s/.*:://;
+ return $self = $self->select($selector)->$meth(@args);
+}
+
1;