Damian's Switch.pm relies on source filtering, which means that unless it can parse Perl perfectly (ha ha!), you'll get bugs in portions of code that having nothing to do with switches just because you included use Switch; in your code. So it shouldn't be used in any practical code.I don't agree with that. It's an argument against editor filters for colouring text - they either have to be perfect for any text thrown at them, or you have to suffer the consequences. A source filter is fundamentally different. There you apply a filter to a program. And then you run your tests. If the filter works, you're done. Otherwise, you tune your filter and/or your program until it works. (But usually, the filter will work the first time).
Abigail
In reply to Re: No braces
by Abigail-II
in thread No braces
by jacques
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |