Subject: | Documentation correction |
The documentation uses $self instead of $datatable
Diff to fix the problem:
***
/usr/local/share/perl/5.10.1/Data/Google/Visualization/DataTable.pm.orig
Thu Dec 30 20:59:32 2010
--- /usr/local/share/perl/5.10.1/Data/Google/Visualization/DataTable.pm
Thu Dec 30 20:59:39 2010
***************
*** 88,100 ****
# Get the data...
# Fancy-pants
! my $output = $self->output_json(
columns => ['date','number','string' ],
pretty => 1,
);
# Vanilla
! my $output = $self->output_json();
=head1 COLUMNS, ROWS AND CELLS
--- 88,100 ----
# Get the data...
# Fancy-pants
! my $output = $datatable->output_json(
columns => ['date','number','string' ],
pretty => 1,
);
# Vanilla
! my $output = $datatable->output_json();
=head1 COLUMNS, ROWS AND CELLS