in reply to how use the Inline::CPP module with a custom library

I can't help you with your problem directly, but in case your example is not artificial and the thing you really want to do is formatting a time string: There's the strftime() function in the POSIX module.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: how use the Inline::CPP module with a custom library
by earlati2 (Beadle) on Aug 03, 2006 at 13:28 UTC

    Is only a test

    What I need is a way to conenct direcly with shared-memopry and ipc message queue managed in C.

    C appli some optmisation so it's very difficult map correclty with the shared-memory fields using the perl statement for shared memory

    I hope to reuse the original C code inside perl to avoid future problem when code will be modified, but it doesn't seems to works.

    So I will try rewrite the piece of C code I need inside the Inline section.