http://qs321.pair.com?node_id=408381

sanju_631 has asked for the wisdom of the Perl Monks concerning the following question:

Hi ! I have problems using ioctl in perl on linux platform. i have written a perl script
.........test.pl....... #!/usr/bin/perl require 'sys/ioctl.ph' .......... this itself on running is giving error # ./test.pl Scalar found where operator expected at (eval 273) line 1, near "'int' + $__val" (Missing operator before $__val?) #
the sys/ioctl.ph file is located in
/usr/lib/perl5/vendor_perl/5.8.3/ppc-linux-thread-multi on my system .
@INC contains: /usr/lib/perl5/5.8.3/ppc-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/ppc-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/ppc-linux-thread-multi ********** /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl

stars in abouve shows that sys/ioctl.ph is in proper path to be included by require command. But even then why i m getting error shown above???
Please reply soon..
Thanks..
Sanju