IPC::Shm::Segment
This class is part of the IPC::Shm implementation. You should probably not be using it directly.
Attach to a named variable's segment, creating if necessary. The contents of the varname string are just how the variable is typed in perl code.
Create a new anonymous segment.
Attach to an existing anonymous segment using a cookie value. Those cookies might be retrieved with the varanon method, or might be stored in a standin. See below.
Returns the variable's name, if any.
Sets the variable's name.
Returns the anonymous variable identifier cookie, if any.
Sets the anonymous variable identifier cookie.
Returns 'HASH', 'ARRAY', or 'SCALAR'.
Stores the variable type. Only meaningful for anonymous segments.
Retrieves a human-redable string identifying the variable.
Overridden from IPC::Shm::Simple to remove table entries for named variables.
Called by IPC::Shm::Simple when the last in-process instance is being DESTROYed.
This is a shared memory analogue of a reference. It is stored in the shared memory variable that holds the reference.
Returns a reference to an anonymous hash containing suitable identifiers.
Returns the variable type that the standin points to.
Returns the shmid where the standin points to.
Returns the original object that generated the standin, or an exactly equal copy of that object.
Indicates that the standin reference is going away.
Returns the original object as standin_restand.
standin_restand
Kevin Cody-Little <kcody@cpan.org>
To install IPC::Shm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Shm
CPAN shell
perl -MCPAN -e shell install IPC::Shm
For more information on module installation, please visit the detailed CPAN module installation guide.