Andy Lester > Data-PerlSurvey2007-1.00 > Data::PerlSurvey2007

Download:
Data-PerlSurvey2007-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

Data::PerlSurvey2007 - Data results and simple code for the results of Perl Survey 2007

VERSION ^

Version 1.00

SYNOPSIS ^

Now you can do your own analyses of the data from Perl Survey 2007.

    use Data::PerlSurvey2007;

    my @responses = Data::PerlSurvey2007::read_responses( 'results.csv' );

Each element of the responses coming back is a hashref that looks like this

    {
      'Attended Perl Mongers' => '1',
      'Attended Perl Mongers (non-local)' => '0',
      'Attended conference' => '1',
      'Attended conference (non-local)' => '0',
      'CPAN modules maintained' => '12',
      'Contributed to CPAN' => '1',
      'Contributed to Perl 5' => '0',
      'Contributed to Perl 6' => '0',
      'Contributed to other projects' => '1',
      'Contributed to websites' => '1',
      'Country of birth' => 'au',
      'Country of residence' => 'au',
      'Date survey completed' => '2007-07-26 12:49:37',
      'ID' => '25',
      'Income' => '80000-89999',
      'Industry/ies' => [
                          'Internet',
                          'Real Estate'
                        ],
      'Led other projects' => '1',
      'Other programming languages known' => [],
      'Perl versions' => [
                           '5.005',
                           '5.6.1',
                           '5.8.4',
                           '5.8.5',
                           '5.8.8'
                         ],
      'Perlmonks' => '0',
      'Platforms' => [
                       'BSD - FreeBSD',
                       'Linux - Debian',
                       'Linux - Ubuntu',
                       'Mac OS/X',
                       'Windows XP'
                     ],
      'Posted to Perl Mongers list' => '1',
      'Posted to other list' => '1',
      'Presented at conference' => '1',
      'Primary language spoken' => 'English',
      'Programming languages known' => [
                                         'JavaScript',
                                         'MOO',
                                         'PHP',
                                         'Ruby'
                                       ],
      'Proportion of Perl' => '90',
      'Provided feedback' => '1',
      'Sex' => 'female',
      'Subscribed to Perl Mongers list' => '1',
      'Subscribed to other list' => '1',
      'Year of birth' => '1975',
      'Years programming (total)' => '22',
      'Years programming Perl' => '11'
    },

FUNCTIONS ^

read_responses( $filename )

Reads in the responses from $filename and returns an array of them.

split_csv( $str )

Split the CSV fields into individual columns, and get rid of the quotes.

AUTHOR ^

Andy Lester, <andy at petdance.com>

BUGS ^

Please report any bugs or feature requests to bug-data-perlsurvey2007 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-PerlSurvey2007. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Data::PerlSurvey2007

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2007 Andy Lester, all rights reserved.

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

syntax highlighting: