Ok, thanks! On to another question: How might I also return the stat
data from the C code, and also be able to tell if the thing is a file,
dir, fifo, char, block, etc etc from withing the perl? I figure it
should return all the info in a concatenated string with the filename at
the end.

PLEASE excuse my lame questions... I'm sooo used to the sybolic nature
of PERL that I never had to learn to do it in C. Now I'm a cripple. I'm
trudging through some C tutorials, but they've not helped so far.

On 06/12, Neil Watkiss rearranged the electrons to read:
> On Tue, 12 Jun 2001, Shawn wrote:
> 
> > Anyone know why the attatched script produces this error for every time
> > it prints a line?
> 
> Two comments (and a fix):
> 
> In general, you never want to use 'map' unless you care about the return
> value. You don't in this case, so you can use a for loop instead.
> 
> Why is it a hash? It takes a bit of a close look to figure it out:

--
Hob Goblin
[EMAIL PROTECTED]

While I was gone, somebody rearranged on the furniture in my
bedroom.  They put it in _exactly_ the same place it was.
When I told my roommate, he said: Do I know you?
                                                -- Stephen Wright

Reply via email to