Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is the "Stat module"?

0 views
Skip to first unread message

Terry Carroll

unread,
Nov 9, 1996, 3:00:00 AM11/9/96
to

Any idea what the "Stat" module is? I was looking up how to use the stat
function in the camel2 book, and in the index, directly under the entry
for "stat function" it says "Stat module, 452".

Page 452 discusses Getopt::Std, and no sign of any kind of Stat module.
Anyone know what this is?

--
Terry Carroll | "In a professional sports league game played in the
Santa Clara, CA | United States, the head referee ... shall ... in the
car...@tjc.com | event of conflicting calls, review instant replay to
Modell delenda est | determine the correct call." - House Bill H.R. 3096

Tom Christiansen

unread,
Nov 9, 1996, 3:00:00 AM11/9/96
to

[courtesy cc of this posting sent to cited author via email]

In comp.lang.perl.misc,
car...@tjc.com (Terry Carroll) writes:
:Any idea what the "Stat" module is? I was looking up how to use the stat


:function in the camel2 book, and in the index, directly under the entry
:for "stat function" it says "Stat module, 452".

Hm.... probably the mad indexer :-) was thinking of that old
Stat.pl library. For a better approach that will likely be
blessed into the 5.004 release, see my recently posted "obstruct"
(object structures) suite. You can use this right out of the box
for what Stat.pl does.

--tom
--
Tom Christiansen Perl Consultant, Gamer, Hiker tch...@mox.perl.com
Why would you WANT to port C news to your PC? Wouldn't it be smarter
and about as cost-effective to port your PC over to the trashcan and buy
a real computer that runs a real operating system like Unix? --Brian Kantor (br...@ucsd.edu)

Terry Carroll

unread,
Nov 9, 1996, 3:00:00 AM11/9/96
to

[the

On Sat, 9 Nov 1996, Tom Christiansen wrote:

> Hm.... probably the mad indexer :-) was thinking of that old
> Stat.pl library. For a better approach that will likely be
> blessed into the 5.004 release, see my recently posted "obstruct"
> (object structures) suite. You can use this right out of the box
> for what Stat.pl does.

First, Tom, the name "obstruct" is inspired!

Thanks for the pointer to stat.pl. I looked at it, and my curiosity is
now sated. It looks like it wouldn't have been any major help for my
particular application -- I was hoping to find something that could
interpret the file mode without my having to learn the intricacies of bit
manipulation in Perl (which ended up not taking me as long as I expected,
with a little experimentation and some strategically-selected print
statements).

Are there any modules that are helpful in using the stat function? I've
been toying with trying to write a module, and if none exists for this, I
may just do it as an exercise, and post it if it's any good.

0 new messages