Subject: | Perldoc compile function typo |
I just grabbed Net::Pcap 0.05 from CPAN, and I noticed in the perldoc that there's a rather nasty typo (inside my quotes):
Net::Pcap::compile($pcap_t, \$filter_t, $filter_str, $optimize, $netmask);
... "The filter is optimized the filter if the $optimize variable is true."...
That should probably be corrected. Also, it'd be nice if $pcap_t was explained there, so you didn't have to read through other parts of the perldoc to figure that out.
If you're interested, I've got background as a tech writer, I'd be happy to spiff up the whole perldoc for you once I get a chance to use Net::Pcap a bit and figure it out (I just found it).