Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^5: Automatically add all defined functions to your @EXPORTby dragonchild (Archbishop) |
on Jun 21, 2005 at 15:06 UTC ( [id://468707]=note: print w/replies, xml ) | Need Help?? |
Because it's apples and oranges. doSomething() and doSomethingElse() aren't related via a pipeline, which the conditionals in grep are. So, by placing unrelated conditionals in their own greps, I give myself the opportunity to throw a map in there, if I feel like it. Putting them in the same grep removes that possibility.
My criteria for good software:
In Section
Cool Uses for Perl
|
|