Masato Sogame > Data-Sheet-0.01 > Data::Sheet

Download:
Data-Sheet-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Data::Sheet - Perl extension for provide DataSheet like data structure.

SYNOPSIS ^

  use Data::Sheet;

  # new(width, height, initVar);
  $table = Data::Sheet->new(10, 10, 0);

DESCRIPTION ^

Provide table like data structure.

API ^

Constructor

new(width, height, initVar)

the new method. Return width * height size sheet object that initialized by initVar.

Control Methods

resize(newWidth, newHeight)

Resize the sheet.

turnRight

Turn Right the sheet.

turnLeft

Turn Left the sheet.

Accessor Methods

setCell(x, y, value)

Set value to sheet(x, y) cell.

getCell(x, y, value)

Get value from sheet(x, y) cell.

setRow(x, values)

Set row to values.

getRow(x)

Get values from sheet's x row.

setCol(y, values)

Set column to values

getCol(y)

Get values from sheet's y column

Other method

printSheet

Print sheet simply.

SEE ALSO ^

AUTHOR ^

Pocket, <poketo7878@yahoo.co.jp<gt>

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by Pocket

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.1 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: