Hi Drieux. Drieux wrote: > > On Dec 12, 2003, at 12:18 PM, Rob Dixon wrote: > [..] > > > > Erm, do you agree with me or not? > > yes and NO!
[snip] > So props for neatish illustrative code. But given > the generalized assertions about it being a list > operator, one would have expected-ish > > my @list = qw/bob ted carol alice and bobo fep/; > subB @list; > > would have worked-ish.... but of course > one now gets the error message > > Line 16: Array found where operator expected at end of line > Line 16: syntax error near "subB @list" > > Which of course is a wonderful place to step off > and discuss ... Oh dear. Well, can I just say: - That I disagree. - That use strict; use warnings; were missed off deliberately, partly because of a couple of the reasons you list, and partly because a proper answer to the question would have been uselessly complex otherwise. Perl is very good at guessing what you mean: that's why a full syntax isn't available. - And that I'm still wondering how you hoped to benefit the group, and especially the OP, by that post. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>