I’ve known about Moose for some time.The first time I talked about it in a training course was at the Teach-In back in the summer of 2007. It’s been part of my training courses ever since. But even though I was telling people about Moose in my training courses, I wasn’t really making use of […]
Tag: programming
What is Wrong With this Picture?
I’ve just found a number of subroutines defined this way in the code that I’m working on.
1 2 3 4 |
sub do_something () { my $parameter = shift; ... } |
I discovered the problem because I started getting errors about “too many parameters”. I knew what the problem was (the empty prototype) but it took a couple of minutes of head-scratching before I realised why it had […]