in reply to What does @_[OBJECT, ARG0, ARG1] mean?

My guess is that one of the modules it uses exports three constants, like:
use constant { OBJECT => 0, ARG0 => 1, ARG1 => 2, };

Then, your line is essentially like:

my ($self, $body, $wheel_id) = @_[0, 1, 2];

UPDATE: see POE::Session

Replies are listed 'Best First'.
Re^2: What does @_[OBJECT, ARG0, ARG1] mean?
by neilwatson (Priest) on Feb 27, 2016 at 22:15 UTC