On Fri, 19 Sep 2008 06:58:33 -0700, wikenfalk wrote: > When using read/sysread you pass variables like $fo->sysread($buf, > $buflen), and the data is returned in buf. > This is magic to me, normally you ought to call sysread like $fo- >>sysread(\$buf,$buflen), passing a reference/pointer to the buffer.
No magic, any subroutine can overwrite its arguments by manipulating $_[0], etc, directly. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/