fix as_stream typo to to_stream
[catagits/HTML-Zoom.git] / lib / HTML / Zoom.pm
index dac8bd7..7aef7e7 100644 (file)
@@ -344,7 +344,7 @@ HTML::Zoom does its best to defer doing anything until it's absolutely
 required. The only point at which it descends into state is when you force
 it to create a stream, directly by:
 
-  my $stream = $zoom->as_stream;
+  my $stream = $zoom->to_stream;
 
   while (my $evt = $stream->next) {
     # handle zoom event here