[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Re: Slurp weirdness



Quoting Etienne Grossmann (etienne@isr.isr.ist.utl.pt):
>   /dev files are also strange-behaved. I don't think you can open
> /dev/sequencer using perl's opening functions (I tried, and only
> succeeded by using a little xs).

Next time, try POSIX::open and POSIX::read (and possibly POSIX::lseek)
first. Those bypass Perl's IO stuff and whatever stdio/sfio/libio crap it is
layered over. I wish I'd thought of that before I wrote Linux::Netstat :-)

-- 
Adam Rice -- wysiwyg@glympton.airtime.co.uk -- Blackburn, Lancashire, England

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe