I love perl

Nov 14, 2007 11:18

From the perlipc man page...

But you don't actually have to make two pipe calls. If you
have the socketpair() system call, it will do this all for
you.

#!/usr/bin/perl -w
# pipe2 - bidirectional communication using socketpair
# "the best ones always go both ways"

If you want to see it yourself ..

Read more... )

Leave a comment

Comments 3

skyethebard November 15 2007, 00:15:58 UTC
Holy shit! *staggers* You posted an entry!

:-P

Reply


turkchief November 15 2007, 00:25:24 UTC
Yeah, what SHE said!!!!...TC

Reply


bored2sleep November 16 2007, 06:08:13 UTC
I must remember that as further proof that perl is awesome. :)

Reply


Leave a comment

Up