← Back to context

Comment by sshine

2 days ago

Yeah, you probably want

  my ($x, $y, $z) = @shift;

:-D

For reference:

Valid is either

   sub () {
     my ($x, $y, $z) = @_;

or

   sub ($x, $y, $z) {