Chad 'Exodist' Granum
- Website: www.open-exodus.net
- About: I write solutions to make things easier.
Posted Fennec V2.x - Testing made better to Chad 'Exodist' Granum
Fennec is a testing framework on top of Test::Builder, one that reduces boilerplate, and solves many of the limitations of vanilla Test::More. It addresses issues such as forking during tests, breaking tests into smaller parts, test-group isolation (state leaks), and mocking. With Fennec in your…
Commented on What if we could drop archives into @INC?
I took 30 minutes and wrote a module to hack @inc to load compressed tar archives. https://github.com/exodist/archlib I also uploaded it to cpan, 'archlib' though it will take a couple hours to replicate out to mirrors. Example: use archlib 'path/to/archive';...
Commented on Re: What if we could drop archives into @INC?
I took 30 minutes and wrote a module to do this for you. https://github.com/exodist/archlib I also uploaded it to cpan, 'archlib' though it will take a couple hours to replicate out to mirrors. Example: use archlib 'path/to/archive'; use Module::In::Archive; use...
Posted DCI Revisited to Chad 'Exodist' Granum
A couple weeks ago I posted this introduction to DCI. I received a lot of feedback. Primarily I was told that I did not explain DCI concisely enough. In addition I received feedback that…
Posted Introducing DCI to the Perl world. to Chad 'Exodist' Granum
For those who are not aware, there is a newish methodology called DCI (Data, Context, Interactions) which attempts to solve the problems of OOP. DCI was designed and proposed by the same guy that created the MVC concept that has become hugely successful. DCI is an attempt to group methods with…
Commented on Exporter-Declare, exporting for modern Perl.
Package variables as an interface is not ideal because of the global nature of package variables, the lack of encapsulation, and the potential for conflicts. Use of a package meta-object with an accessor named after the feature, or import() arguments...
Posted Exporter-Declare, exporting for modern Perl. to Chad 'Exodist' Granum
Exporting can be achieved through several routes. You can do it manually through typeglob manipulation, or you can use one of several modules that do it for you. One of the most proliferated, and common is the Exporter.pm module. More recently there have been some advances in the form of…
Posted Executing code at the end of runtime. to Chad 'Exodist' Granum
There is a lot of call for the ability to execute code at the end of runtime. An example of this is Moose when you call
__PACKAGE__->make_immutable(). Wouldn’t it be nice if this were just automatic? Other places this can be useful ar…
Posted Fennec Testing Framework - 1.0 Released to Chad 'Exodist' Granum
Over the weekend I overhauled my personal project Fennec. Fennec is a testing framework for Perl that was originally meant to solve the shortcomings of Perl's other solutions. This release is a major simplification of…
Dmitry Karasik commented on
Re: What if we could drop archives into @INC?
Thanks for the effort, I remember I tried that thing with @INC some years ago, when it wasn't established yet, and didn't work the way I hoped. It's great to know that it is solid now.
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.