in reply to Key for message queue creation...

What kind of message queue do you want to create? do you use threads? and why do you need a key for it?

Replies are listed 'Best First'.
Re^2: Key for message queue creation...
by leslie (Pilgrim) on Jun 23, 2009 at 06:54 UTC
    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...
      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.