http://qs321.pair.com?node_id=1226988


in reply to Re^2: New Discovery!!! (sub call without parentheses)
in thread New Discovery!!! (sub call without parentheses)

> I think Perl's the only language which doesn't enforce parens if a function is pre-declared

Ruby never does, but probably you wanted to say "if and only if" ?

The possibility to omit parenthesis is essential for many syntactic sugar and DSL approaches.

Compare "has" in Moose which looks like a keyword.

update

example

has 'first_name' => ( is => 'rw', isa => 'Str', );

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice