in reply to Re: passing multiple items to a subroutine
in thread passing multiple items to a subroutine
you have to use references
That's what the OP is doing.
The error is that (s)he is mixing shift and @_ inside the sub.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |