I saw that it was the same function call - doh - but since the OP was giving it as an example of style as opposed to a specific code snippet, I considered that the general case of function1 and function2 was absolutely required in my response - function1 = function2 is a special case that doesn't affect the question of best syntax. On the other hand labelling them 1 and 2 is clearer.
in reply to Re^4: Perl ternary operator style
in thread Perl ternary operator style
OK so one could say you checked the text of the OP, but surely it is reasonable to raise a theory of style to a reasonable level of abstraction and I am surprised you don't even see that that is what I wad doing. You really think adding 1 and 2 to the function names was a misread on my part? get real!