Leader of Birmingham.pm [pm.org] and a CPAN author [cpan.org]. Co-organised YAPC::Europe in 2006 and the 2009 QA Hackathon, responsible for the YAPC Conference Surveys [yapc-surveys.org] and the QA Hackathon [qa-hackathon.org] websites. Also the current caretaker for the CPAN Testers websites and data stores.
If you really want to find out more, buy me a Guinness
mysub( key, sprintf( "%s/%s/%s", x, y, z ) );
The compiler reported a syntax error before the ';'. If you've been doing C regularly recently, it will be an easy spot. If you're a now ex-C programmer, who hasn't been a C programmer for over 5 years and in that time has exclusively been a Perl programmer, will wonder why it doesn't JFDI
The problem for non C programmers, is that Perl and C use sprintf in different ways. The correct syntax is the first comment reply.
It took me far too long to figure that one out. It was made all the more frustrating by the fact Ubuntu doesn't have 'lint', Synaptic couldn't find one and even Google drew a blank. I could find lint checkers for virtually every other language and things like DNS, but not for C. This was once one of the key tools in my programming arsnal, alongside vi, make and cc, and would have helped me solve the above problem in seconds, but now seems to have vanished from sight. I was expecting to find a GNU version, but have drawn a complete blank. Anyone know of a decent lint checker for C?