
Catalystx::injectcomponent will inject controller, model, and view components into catalyst applications at setup (run)time. it does this by creating a new package on-the-fly, having that package extend the given component, and then having catalyst setup the new component (via "->setup_component").