Subject: | typo in Mechanize and C< junk => stuff > broken] |
Date: | Mon, 1 Aug 2011 22:11:01 -0700 |
To: | bug-WWW-Mechanize [...] rt.cpan.org |
From: | Mike McClain <m.d.mcclain [...] cox.net> |
In reading 'perldoc WWW::Mechanize' or 'man WWW::Mechanize' the
description for $mech->select has been confusing me for a while.
Today I looked at the source and recognized why.
First there is a '}' missing and second the quoting mechanism
C< ... > breakes if there is a '>' inside, as in: C<{n => [2,4]}>.
Following are two forms of the diff to address the first.
I don't know enough about perldoc or man to address the second.
mike@/deb40a:~/tmp> diff /usr/share/perl5/WWW/Mechanize.pm Mechanize.pm
1066c1066
< an C<n> key selects an item by number (e.g. C<{n => 3> or C<{n => [2,4]}>).
---
Show quoted text
> an C<n> key selects an item by number (e.g. C<{n => 3}> or C<{n => [2,4]}>).
mike@/deb40a:~/tmp> diff -n /usr/share/perl5/WWW/Mechanize.pm Mechanize.pm
d1066 1
a1066 1
an C<n> key selects an item by number (e.g. C<{n => 3}> or C<{n => [2,4]}>).
My thanks for all the hard work that went into this library.
Knowing as little as I do about the innards of HTTP/HTML writing an ap
to gather job listings would be daunting.
Linux playground 2.4.27 #1 Mon Dec 24 13:55:08 PST 2007 i586 GNU/Linux
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
WWW::Mechanize Version 1.18
Mike
--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org