user-pic

JT Smith

Subscribe to feed Recent Actions from JT Smith

  • rlauer commented on What about a Perl example?

    The thought of creating a really consumable API that is worthy of putting on CPAN is a bit daunting. I think that discourages a lot of us. What's acceptable to us personally in terms of documentation, form, and packaging are usually not good enough for a broader audience. A cop out, but there it is. Yes, we should all give back a bit more.

    I wanted to correct one thing - there are some decent Amazon APIs on CPAN, however the Perl APIs I used were provided by Amazon and looked to me like they were created by non-Perl programmers or by a translator of some sort. I've built a lot o…

  • zaki commented on What about a Perl example?

    One thing that I have noticed is that the CPAN modules have the opportunity to become better documentation than the documentation from the API provider. APIs for Perl can include a readable manual rather than just a list of functions. Also, if you include complete usable examples for common tasks, you include them under an examples directory and MetaCPAN will show them.

  • P commented on Facebook::Graph News

    I have just tried the Facebook::Graph api with dancer, but I am getting

    "Error 404
    Unable to process your query
    The page you requested is not available
    Powered by Dancer 1.3111"

    and the found the following from dancer log.

    [7527] core @0.000114> request: POST / from 127.0.0.1 in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Handler.pm l. 56
    [7527] core @0.000532> [hit #1]Trying to match 'POST /' against /^\/upload_photo$/ (generated from '/upload_photo') in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Route.pm l. 84
    [7527] core @0.00…

  • blumroy commented on A Case for Tie::Array::CSV

    Hi Joel, I’m starting to use it and hope to get a better hold of it. I’m using Mac, running Perl v5.12.3

    The example you provide here works for me well, outputting the outfile.csv file.

    By amending the code to : tie my @file, ‘Tie::Array::CSV’, ‘outfile.csv’; print $file[1][0]; I am able to read from the outfile.csv as well!

    My problem starts when I make an attempt to open outfile.csv in Excel, make some value changes, and then save it again as CSV format (i tried all possible csv form…

  • Joel Berger commented on A Case for Tie::Array::CSV

    Tie::Array::CSV is just a thin wrapper for Text::CSV, you might try to see if you need to set some configuration variables. CSV is a human readable format so you might want to try to open a text editor and view the file at the different stages to see if something noticeable changes.

Subscribe to feed Responses to Comments from JT Smith

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.