From: "David Formosa (aka ? the Platypus)" Subject: Re: I find the perl syntax easier than python Message-ID: Date: Fri, 04 May 2007 12:41:14 GMT On 03 May 2007 21:12:37 GMT, Abigail wrote: > David Formosa (aka ? the Platypus) (dformosa@usyd.edu.au) wrote on > MMMMCMXCIII September MCMXCIII in : > ^^ On 03 May 2007 19:21:12 GMT, Abigail wrote: [...] > ^^ > sub addprint {my $sum = 0; $sum += $_ for @_; print $sum, "\n"} > ^^ > ^^ So you do something like this > ^^ > ^^ sub addprint (*@num) { say [+] @num }; > > Yeah, but that's only on the second try. ;-) But mine is more elegant.