in reply to Re: Question about list context
in thread Question about list context

This is not considered ambiguous so far as Perl is concerned. If you have warnings enabled Perl will warn you that it is running ambiguous code. In the case of function_name ( something_or_nothing ) there is no ambiguity, there is the clear rule that if it looks like a function, it is a function.

In the case of print ( something ), more; you will be told print (...) interpreted as function not because it is ambiguous but because it is usually unintended that more dangle after a comma after a print function.

Be well
rir

Updated: corrected spelling unintented