Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: C vs. Perl

by dug (Chaplain)
on Oct 22, 2003 at 22:32 UTC ( #301408=note: print w/replies, xml ) Need Help??

in reply to Re: C vs. Perl
in thread C vs. Perl

I haven't found it in the core documentation, but there is a recipe in "Perl Cookbook" (recipe 7.25 in the second edition) called "lockarea" that dooes just this. It's not very portable (and isn't easier than its C counterpart), but works on Berkley-ish systems.

The Cookbook says, "This program, while included with Perl...". I didn't find it in the latest sources when looking for "lockarea". Does anyone else know where it is in the source, or when it was depricated if it's not there?

-- dug

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-03-20 22:39 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (59 votes). Check out past polls.