My journal has been rather dead for quite some time. This has mostly been corresponding work workload and depression.
Now that 5.8 is out, threading is done, my depression is finally lifting I am getting time to do something fun!
That fun seems to be taking over some of Simon internal tools to be able to do something I have wanted to do for quite some time
types.pm - strict type checking in perl
People have said it is impossible, can't be done and so on, but guess what, people are stupid and wrong!
NOTHING IS IMPOSSIBLE
use types;
my int $foo;
sub foo { return 5.5 };
$foo = foo();
What does that give you, it gives you a compile time warning that you are trying to assign the return value of main::foo() which is a float to an int.
Stay tuned, I will continue talking about optimize.pm and types.pm around here.