user-pic

davewood

  • About: I like Toast.
  • Posted using DBIx::Class::DeploymentHandler to davewood

    I used to work with DBIx::Class::Schema::Versioned to upgrade my DBIC Schema but soon I needed more then it offered.

    Starting with DBIx::Class::DeploymentHandler was a bit troublesome because I had a hard-ish time understanding the extensive documentation.

    Now that I moved past tha…

  • Commented on Versioning Developer Releases
    This is how I version my software: 0.001_001 # dev release 1 0.001_002 # fix bug 0.001_003 # fix missing dependency 0.002000 # first "stable" release 0.003_001 # new feature 0.003_002 # fix bug 0.004000 # effectively 0.4.0 http://www.dagolden.com/index.php/369/version-numbers-should-be-boring http://blogs.perl.org/users/davewood/2011/12/cpan-my-first-time.html...
  • Commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
    UPDATE: http://blogs.perl.org/users/davewood/2013/01/nginx-fastcgi-vs-starman-erratum.html...
  • Posted Nginx: FastCGI vs. starman (Erratum) to davewood

    2 weeks ago I've written Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman

    Yesterday I have discussed my setup with mst, jnap and joel on irc.perl.org #catalyst…

  • Commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
    There is something missing in my nginx config which results in the following error msg. Use of uninitialized value in string eq at /var/www/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Catalyst.pm line 2787. probably some config that passes the originating IP to the starman worker. more info...
  • Commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
    Nope. Benchmark and other comparison metrics sure would be nice to have. Perhaps if I find some time in 2013 I will put something together. But there might be some data available in the internets. http://www.wikivs.com/wiki/Apache_vs_nginx https://timmehosting.de/blog/benchmark-nginx-12-vs-apache-24-statische-dateien-drupal-typo3 And this just...
  • Commented on 17.4% of CPAN uploads have no license in the META files
    Your post raises the question why one should add a license to a module?...
  • Commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
    I run debian wheezy and usually have a perlbrew perl for each user. (user 'www-data' for production, user 'david' for development) The perls are "managed" with git. This allows for easy undo if an update introduces problems. I do not...
  • Posted Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman to davewood

    Recently I had to move all my projects to a new server and decided to give Nginx and Starman a chance.

    The Nginx config is rather simple.

    my Catalyst Application is located at /var/www/MyApp

    server {
        listen 80;
        server_name myapp.at *.myap…
  • Commented on Using jqGrid with Catalyst: Tutorial with Examples for Newbies
    very nice writeup. thank you very much. For anyone looking for tools to get webaccess to your DB fast there also is Catalyst::Plugin::AutoCRUD....
  • Posted CPAN ratings to davewood

    There are a couple of indicators I take into account when evaluating perl modules.

    • Update frequency and date of last update
    • Usually I look at the source and check for existance of test files.
    • The next step would be to check cpan…
  • Commented on Smolder setup?
    Using perl v5.16.0 (installed via perlbrew) I managed to install smolder via cpanm. (debian wheezy) However starting the smolder server did not work until I added host and port options smolder --host localhost --port 8080 smolder sure isn't to chatty....
  • Commented on open module under cursor in vim
    meh. perldoc returns the filename with a newline at the end which screws up vims edit call. " find module in perl INC and edit function! EditModule() let cw = expand("<cWORD>") let fname = substitute( system( "perldoc -lm " ....
  • Commented on open module under cursor in vim
    much shorter " find module in perl INC and edit function! EditModule() let cw = expand("<cWORD>") let fname = system( "perldoc -lm " . cw ) if filereadable( fname ) exec "edit " . fname else echo "File not found...
  • Commented on open module under cursor in vim
    perldoc -l returns a filename only if POD exists. perldoc -lm on the other hand works even without POD in the file. But I learned that just a few seconds ago. :)...
  • Posted open module under cursor in vim to davewood

    Inspired by http://www.slideshare.net/c9s/perlhacksonvim I wrote (well ... copied for the larger part) a script to open the Module currently under the cursor in vim.

    Typing \fm will lookup the first Module found in available Perl library paths (plus current working directoy . '/lib')

  • Posted CPAN, my first time. to davewood

    It was not that difficult getting my first distribution released on CPAN. But getting rid of the rough edges meant spending time with my favourite search engine and on IRC.

    My code is hosted on github and I decided to let ="http://search.cpan.org/d…

Subscribe to feed Recent Actions from davewood

Subscribe to feed Responses to Comments from davewood

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.