Moose

TOP

Moose Namespace collision

I'm working on one Moose-based project and ran into bad difficulties yesterday. Suspicious compile time errors, default value subroutines being called way too early and with an empty hash reference as argument instead of an object. It took me hours and some hints from #moose on irc.perl.org to find a workaround and finally today, I was able to reproduce the problem.
Weiterlesen
TOP

Moose documentation quick reference

I don't like Moose. It has a lot of disadvantages and tries to create a new language based on Perl - without any need. But I'm forced to use it within a project and working myself into all that stuff, the documentation turned out to be as bad as the one of DBIx::Class. This post is my attempt to merge the most important documentation parts.
Weiterlesen
TOP

Perl vs. Moose vs. Mouse

Seit nunmehr 23 Jahren entwickle ich Software. Zu meinen Anfangzeiten waren Ressourcen noch etwas, dass sehr schonen behandelt werden musste, ein Datapoint 6600 hatte gerade mal 64kB RAM und die mussten sich alle gleichzeitig laufenden Programme aller Benutzer auch noch teilen. Dagegen war der 86HC12 mit seinen 4kB Flash und 192 Byte RAM in Assembler programmiert geradezu luxuriös.

Auch wenn die Zeiten sind geändert haben und 99,995% aller Anwendugen auf jedem 5 Jahre alten Server problemlos laufen und auch ohne Datenbank-Indices und irgendwelche Optimierungen den Server nie ernsthaft belasten - es widerstrebt mir immer noch innerlich, Ressourcen sinnlos zu verschleudern. Genau an dieser Stelle kommt Moose ins Spiel. Es ist - und dafür akzeptiere ich auch alle Flames - überflüssig.

Weiterlesen