Thought I'd have a go at securing one of my scripts after Ray's question
about security. When using "strict", I am told the following:

Scalar value @views_keys[$k] better written as $views_keys[$k] at
./newremote2.pl line 327.
Scalar value @_[0] better written as $_[0] at ./newremote2.pl line 342.
Scalar value @cview_cams[0] better written as $cview_cams[0] at
./newremote2.pl line 346.
Scalar value @_[0] better written as $_[0] at ./newremote2.pl line 359.

I'm curious to know why for example something like @cview_cams[0] would be
better written as $cview_cams[0]? If there's an faq which tells me WHY then
if someone could point me to that I'd be very happy. ;-)

Thanks,
Nic

Reply via email to