Your answer is clear

Colin's Blog

My blog.  Thoughts on programming, being a business owner, freelancing and life in general.

AddSearchRSS

Stuck on building Roles with a sugary Class.
By perlDreamer - 2/26/2010 - 1 Replies WebGUI is in the process of moving to Moose, and I've spent the last few weeks just learning Moose and writing perl.  It has been a very good time. You can see the work that I've done in the git repo in the WebGUI 8 branch: http://github.com/plainblack/webgui/tree/WebGUI8 WebGUI::Definition provides two sugar methods, property and define, that replace the old definition subroutine/data structure, and it sets up the meta class for properties.  WebGUI::Definition::Asset builds on WebGUI::Definition with just another meta class and property class. Here's where the hang up comes.  What used to be AssetAspect is now a Moose Role.  Each Role should have all the same sugar and meta class as a regular Asset, but doing this:     use Moose::Role;     use WebGUI::Definition::Asset; makes for Moose puke:     WebGUI::Role::Asset::RssFeed already has a metaclass, but it does not inherit WebGUI::Definition::Meta::Asset (Moose::Meta::Role=HASH(0x9781a78)) at /usr/local/share/perl/5.10.0/Moose.pm line 160

Stupid Moose Questions
By perlDreamer - 1/25/2010 - 2 Replies I have always embodied the perl virtue of laziness.  Well, at least I've tried most times.  Most times, this is good, since it helps me to write small, well tested code that is easy to maintain.  Other times, it's bad, since I've never learned Moose or DBI::Class.

5 days of a git pre-commit hook, lessons learned...
By perlDreamer - 11/5/2009 Our project, WebGUI, a perl-based CMS, has a varied group of developers.  Most developers are consultants and contractors who make a living from customizing and developing applications for WebGUI.  Some are users who dabble in writing macros and simple sub-applications.  A few are purely volunteers.

WebGUI Testing: Skipping the SKIP block
By perlDreamer - 10/31/2009 After reading Perl Testing, A Developer's Notebook, I started putting this into all the WebGUI tests:

Client side caching costs me cash.
By perlDreamer - 10/1/2009 - 1 Replies Working on a perl-based CMS, I get bitten by client-side caching a lot.

Saving those precious finger joints, a new method in WebGUI will assuage your Laziness.
By perlDreamer - 9/26/2009 - 1 Replies When I was in graduate school, I interned at Hewlett Packard.

Cleaning up
By perlDreamer - 4/13/2009 - 1 Replies Several little tidbits:

Test::Class for Account modules
By perlDreamer - 3/26/2009 - 3 Replies I got my start in WebGUI volunteering.

blue divider bar

Copyright 2010 perlDreamer Consulting | All Rights Reserved | Site Map | Graphic Design by Plain Black