RSS and Atom feeds in Catalyst
The Catalyst cookbook provides two recommendations for adding RSS feeds to your application:
Content-Type:
header of your view with Catalyst::Response.The Catalyst cookbook provides two recommendations for adding RSS feeds to your application:
Content-Type:
header of your view with Catalyst::Response.
I also love syntax highlighting. To some, it's superfluous. To others, it's downright confusing. But for those of us who use it all day every day, it's an essential tool that helps us read and understand code more quickly and with less effort.
It's always been a minor complaint that search.cpan.org does not put syntax h…
Sometimes that method might not meet your needs, and you might really want to make a Moose subclass of a non-Moose class. This tutorial will get you started with a …
First, step back and consider if we really need a subclass.
There are probably some good arguments against subclassing non-Moose classes with a Moose class that center on principles of good design, and applying the most suitable design patterns. From a practical standpoint, though, there's a very simple reason to avoid it: using Moose to subclass a non-Moose class is fraught with "gotchas." We'll see ="https://blogs.perl.org/users/mark_a_stratman/2011/03/subclassing-tricky-no…
Perl is tired, old, crusty, and ready for the farm where its spirit can run free with the likes of COBOL and Fortran.
Or at least that's what some people outside the community say.
We know this couldn't be farther from the truth: Perl 5 is alive, "Modern Perl" is buzzing on everyone's lips, Moos…