New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in IO::Handle method ioctl #1147
Comments
From private@claudio.chCreated by private@claudio.chmy $file=new IO::File; does not work, while ioctl($file,someReadOp,$value) does. This is ioctl in IO::Handle.pm 560: sub ioctl { The $val passed to ioctl in line 563 is a local variable because To fix this, line 563 has to be changed into: my $r = ioctl($io, $op, $_[2]); This works (tested) because $_[2] is really the 2nd parameter Perl Info
|
From [Unknown Contact. See original ticket]Why would you use IO::Handle's ioctl function!? FH->ioctl(...) --tom |
From The RT System itselfHi,
Because I got used to do my $file=new IO::File; $file->open But I could very well live with an IO::Handle who doesn't implement I just think it's bad when $file->ioctl() looks like if it would claudio |
Migrated from rt.perl.org#2109 (status was 'resolved')
Searchable as RT2109$
The text was updated successfully, but these errors were encountered: