projects
/
catagits/HTML-Zoom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
948f7b2
)
doc from_events.
Simon Elliott [Tue, 31 May 2011 10:43:58 +0000 (11:43 +0100)]
lib/HTML/Zoom.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/HTML/Zoom.pm
b/lib/HTML/Zoom.pm
index
f540ec2
..
6ac8085
100644
(file)
--- a/
lib/HTML/Zoom.pm
+++ b/
lib/HTML/Zoom.pm
@@
-632,6
+632,12
@@
zoom instance with that as the source HTML to be transformed.
Convenience method - slurps the contents of $file and calls from_html with it.
+=head2 from_events
+
+ my $zoom = HTML::Zoom->from_events($evt);
+
+Create a new Zoom object from collected events
+
=head2 to_stream
my $stream = $zoom->to_stream;