> > my_function "foo", "bar"; > > > my_function is a list operator which has a very low precedence so the > > parentheses are not required. > > Sometimes, i.e. if the sub is not predeclared, they are required. >
yes this is true, because perl doesn't know that my_function is actually a function call when it doesn't see it predeclared.. I have another question, why are function calls without parantheses called list operators, is there no difference between the two? why isn't a function call with parantheses called a list operator too? Thanks, Joel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/