in reply to function calling
So, in the second case it is optional and in the first case it is not optional.
Resource: man perlsub