The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


HTML::Spry::DataSet - Generate HTML Table Data Set files for the Spry Javascript toolkit


  # Create the object
  my $dataset = HTML::Spry::DataSet->new;
  # Add the tables to the object
  $dataset->add( 'heavy100',
      [ 'Rank', 'Dependencies', 'Author',   'Distribution'           ],
      [ '1',    '748',          'APOCAL',   'Task-POE-All'           ],
      [ '2',    '276',          'MRAMBERG', 'MojoMojo-Formatter-RSS' ],
  # Write out to the HTML file


Spry is a JavaScript framework produced by Adobe. The following is taken from their website.

"The Spry framework for Ajax is a JavaScript library that provides easy-to-use yet powerful Ajax functionality that allows designers to build pages that provide a richer experience for their users.

It is designed to take the complexity out of Ajax and allow designers to easily create Web 2.0 pages."

This package is used to generate simple HTML-formatted data sets that are consumable by Spry DataSet objects, for use in generating various dynamic JavaScript-driven page elements, such as dynamic tables, reports and so on.

The SYNOPSIS section covers pretty much everything you need to know about using HTML::Spry::DataSet. All methods throw an exception on error.


Bugs should be reported via the CPAN bug tracker at

For other issues, or commercial enhancement or support, contact the author.


Adam Kennedy <>


Copyright 2009 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.