Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: What is Perl *NOT* good at?

by Zaxo (Archbishop)
on Apr 21, 2004 at 01:17 UTC ( [id://346843]=note: print w/replies, xml ) Need Help??


in reply to What is Perl *NOT* good at?

I once wrote a Linux device driver in pure perl, just to see if I could. I wouldn't recommend it, except as a learning experience.

The remarkable thing is that it was possible at all. Not many "scripting" languages offer ioctl. A chunk of the code is posted here at Linux ioctl command module.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: What is Perl *NOT* good at?
by flyingmoose (Priest) on Apr 21, 2004 at 13:38 UTC
    I would have whipped out Inline::C for the purpose. But really, when you say you wrote a device driver in pure perl, did you really get something you could insmod? I'm skeptical. As for manipulating device drivers (config apps), etc, yeah I can see it wouldn't be bad at all. But I'd still use Inline or XS to a real C ioctl call rather than Perl's beast with the extra gorp.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://346843]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found