From: Simon Elliott Date: Tue, 31 May 2011 10:43:58 +0000 (+0100) Subject: doc from_events. X-Git-Tag: release_0.009007_1~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FHTML-Zoom.git;a=commitdiff_plain;h=f3a758adc472224cb0e25491a0c5fc5d4a1be6b3 doc from_events. --- diff --git a/lib/HTML/Zoom.pm b/lib/HTML/Zoom.pm index f540ec2..6ac8085 100644 --- 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;