in reply to function calling

For a subroutine call, Parentheses are optional if predeclared/imported.

So, in the second case it is optional and in the first case it is not optional.

Resource: man perlsub