Cool/useful short examples of Perl?

David Cantrell david at cantrell.org.uk
Tue May 31 15:08:10 BST 2011


On Mon, May 30, 2011 at 06:51:11PM +0100, Paul Makepeace wrote:
> On Mon, May 30, 2011 at 14:12, Gabor Szabo <szabgab at gmail.com> wrote:
> > use Spreadsheet::Read;
> > my $ref = ReadData ("test.xls");
> > say $ref->[1]{A3};
> > http://search.cpan.org/dist/Spreadsheet-Read/Read.pm
> Cool module. If you do include it, s/ref/workbook/
> Paul (who is puzzled by this name-your-var-with-only-its-type cargo cult)

The smaller the code, the fewer bugs it can contain!  And Hungarian
notation is good!

-- 
David Cantrell | Reality Engineer, Ministry of Information

          All praise the Sun God
          For He is a Fun God
          Ra Ra Ra!


More information about the london.pm mailing list