in reply to Re: Key for message queue creation...
in thread Key for message queue creation...

No. I am not using threads. this is just testing program.
I did some message queue program using "c". In that they are providing the ftok() for generate the dynamic key.
 I am asking that is there any function available in perl like ftok()...
 Thank you for your effort...
  • Comment on Re^2: Key for message queue creation...

Replies are listed 'Best First'.
Re^3: Key for message queue creation...
by moritz (Cardinal) on Jun 23, 2009 at 07:04 UTC
    In Perl you usually use modules that abstract away such things. From the ftok manual page it looks like you're dealing with System V message queues. If that's the case, maybe take a look at IPC::Msg or other ipc modules.