Re: Bug in argument handling

2002-09-10 Thread Sean O'Rourke
On 10 Sep 2002, Aaron Sherman wrote: > This short bit of code does a good job of pointing out two bugs. One is > that the C<*@y> sucks up ALL of the arguments, not just C<@_[1..@_]>, > and also that C<"\$x"> prints a lone backslash. > > Please correct me if I've misused these operators. Thanks! >

Bug in argument handling

2002-09-10 Thread Aaron Sherman
This short bit of code does a good job of pointing out two bugs. One is that the C<*@y> sucks up ALL of the arguments, not just C<@_[1..@_]>, and also that C<"\$x"> prints a lone backslash. Please correct me if I've misused these operators. Thanks! sub abc($x,*@y) { die "Why is \