insaniac has asked for the wisdom of the Perl Monks concerning the following question:

Hey fellow monkies,

I've sent a patch to SGI::FAM, but! I should have posted my problem overhere first (i think).
I wanted to try the example in SGI::FAM, but I got an error saying:

Your vendor has not defined SGI::FAM macro FAM_DEBUG_OFF at test.pl li +ne 5

So I did some locate's and grep's and this way I found that FAM_DEBUG_OFF is also in [your_cpan_location]/auto/SGI/FAM/new.al. But, this code tries to call it as a sub, while I think it's a constant (a scalar one i think). Does anybody else think that?

Also, since the code (SGI::FAM) was written for Irix, I can't really test if my tweak (deleting the ( and ) after FAM_DEBUG_OFF in auto/SGI/FAM/new.al).

Good thing is: the example now works on a Linux machine ;-) Pretty cool actually...

I'm using debian linux with gamin library

Thanks a lot!,
just another monkie

to ask a question is a moment of shame
to remain ignorant is a lifelong shame

Replies are listed 'Best First'.
Re: Patching SGI::FAM
by insaniac (Friar) on Sep 22, 2005 at 07:58 UTC
    So ehm, I can conclude that what I did was correct?
    Also, I see the last changes to this module were made in september 1997.. do you think the author is still *actively* involved with this module? I was just wondering if it makes sense to bother him with my emails and my patch, or just keep the patch to myself..

    Thanks for frontpaging this message!
    Cheers,
    Johnny

    to ask a question is a moment of shame
    to remain ignorant is a lifelong shame