Consider this sub from Bot::BasicBot
sub _fork_said { my ($self, $body, $wheel_id) = @_[OBJECT, ARG0, ARG1]; chomp $body; # remove newline necessary to move data; # pick up the default arguments we squirreled away earlier my $args = $self->{forks}{$wheel_id}{args}; $args->{body} = $body; $self->say($args); return; }
What does the first line in the sub do? It would seem to me to set off a strict error. Original code here.
Neil Watson
watson-wilson.ca
In reply to What does @_[OBJECT, ARG0, ARG1] mean? by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |