Because sysread takes four scalars as arguments, not a list, so @_ is used in scalar context:
$ perl -le'print prototype "CORE::sysread"' *\$$;$
In reply to Re: What is wrong with "sysread @list"
by jwkrahn
in thread What is wrong with "sysread @list"
by tfoertsch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |