On Sat, 2007-12-01 at 23:36 +0100, Jenda Krynicky wrote: > Yes, I know it is a source filter. And has all the problems of source > filters ... that is it can misunderstand something, transform your > source code in completely unexpected way and cause next to impossible > to find bugs. As such it needs to do something really really > important to warrant the danger.
This is why I've been ignoring it :) Even the simplest of simple filters like Filter::EOF can go massively wrong. (Multiple packages in a file? You're fucked.) Source filters should be considered a failed experiment, like pseudohashes. IMO, Devel::Declare is the right way to do this sort of thing. Messy code, but much safer to use (and more tests; the test shiped with Macrame scares me with how little it covers). Regards, Jonathan Rockway
signature.asc
Description: This is a digitally signed message part