| CPAN Ratings (Gamma) IPC-ShareLite reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of IPC-ShareLite
1 out of 5 found this review helpful:
[removed]
lokilogan - 2009-05-19 16:20:14
Was this review helpful to you?
Yes
No
A very quick and easy to use way to communicate between programs.
The hostile reviews ignore issues like platform dependence.
If they can't find a bug by reading the code, maybe the underlying system calls are faulty on their computer.
The module obviously requires a fully working SysV IPC on the machine.
The criticism that it only supports scalars is not a problem if you use it with Storable as suggested in the documentation, which I have done.
If something very elaborate is required, this Lite module is not the right one to use:-)
If you want to destroy the share on exit, you may want a signal handler and to undef the share in an END subroutine.
The destroy method only takes numeric flag, unlike the destroy option.
koff - 2009-05-19 06:56:53
Was this review helpful to you?
Yes
No
This module is broken.
The documentation is pretty good , and I have read its code , however ,
I wanted to write a Object Monitor class for it that would track instances of objects of a class over multiple processes and I could not.
With a fair amount of sincerity I can firmly decide that this module is broken.
Upon request I can provide a test case on which the module clearly is out of control.
It presented irreproducible results with weird errors like
Use of uninitialized value in subroutine entry at /usr/local/lib/perl/5.10.0/IPC/ShareLite.pm line 304 during global destruction.
(in cleanup) IPC::ShareLite::read_share: share is not of type SharePtr at /usr/local/lib/perl/5.10.0/IPC/ShareLite.pm line 304 during global destruction
Sometimes it presented this error, sometime it didn't.
There was no pattern , or anything that I could hold on to in fixing the error.
Again , upon request , I will provide the necessary code to prove that the module is broken .
It's a pitty because at the time I'm writing this it would've been really useful for me.
UPDATE:
I'd like to mention that the place I had most trobule with was accessing the shared memory area inside the destructor DESTROY.
I don't know if this is possible or not , documented or undocumented but it should be documented anyway.
spx - 2009-05-07 02:48:11
Was this review helpful to you?
Yes
No
Excellent little module. The only shortcoming this far is that it does not handle data other than scalars.
Jens-Petter Salvesen - 2004-03-23 06:02:47
Was this review helpful to you?
Yes
No
|
|
|