NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Template (Score:3, Insightful)
Why not use a templating approach, wouldn't you have less special cases?
"${moduleName} par ${author} a été écrit"(or something more elaborate).-- Robin Berjon [berjon.com]
Re:Template (Score:2)
Or because expressions may separate and split, depending: just think of "c'est nest pas"...
Or because of plurals happen to be irregular? Or because of gazillion other reasons.
Reply to This
Parent
Re:Template (Score:2)
Yes, I did read Sean's message and I know that local problems are far harder than that. It's just that reading from the text I got the impression that Sean was using an approach a touch more ad hoc than that, which made me curious (in a conversational way, otherwise I'd have gone read the source).
-- Robin Berjon [berjon.com]