Iestyn Pryce > Gwybodaeth-0.02 > Gwybodaeth::Read

Download:
Gwybodaeth-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Read - input data reader class for gwybodaeth

SYNOPSIS ^

    use Read;

    my $r = Read->new();

    $r->get_file_data("/home/foo/bar.csv");
    $r->get_url_data("www.example.org/bar.csv");

    $r->get_input_data();

DESCRIPTION ^

This module imports data from the URIs given to it.

new()

Create a new instance of Read.

$r = Read->new();

get_file_data($filename)

This function gets data from $filename.

get_url_data($url)

This function gets data from $url.

get_input_data()

This function returns an array contiaining the ingested data.

AUTHOR ^

Iestyn Pryce, <imp25@cam.ac.uk>

ACKNOWLEDGEMENTS ^

I'd like to thank the Ensemble project (www.ensemble.ac.uk) for funding me to work on this project in the summer of 2009.

COPYRIGHT AND LICENSE ^

Copyright (C) 2009 Iestyn Pryce <imp25@cam.ac.uk>

This library is free software; you can redistribute it and/or modify it under the terms of the BSD license.

syntax highlighting: