Stupid code examples in documentation

| No Comments

Dear maintainer of Spreadsheet::ParseExcel!

Please remove the

$sheet->{MaxCol} ||= $sheet->{MinCol};

statement from the loop over spreadsheet rows in the example at the top of the module documentation. People just cut and paste this into their code, which is pointless.

This madness goes far - I even saw this code in a presentation at the local Perl Mongers group technical meeting.

Take pity on poor wasted electrons, K THX.

Leave a comment

About this Entry

This page contains a single entry by tobez published on June 25, 2008 12:21 PM.

Perl, maps, and geocaching was the previous entry in this blog.

"Idiots can vote too" is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.