Apache2-SSI

 view release on metacpan or  search on metacpan

CHANGES  view on Meta::CPAN

v0.2.5 2022-10-21T15:15:02+0900
    - Update issue tracker

v0.2.4 2021-03-29T23:15:37+0900
    - Corrected bugs under Windows related OS
    - Added Apache2::SSI::File::Type
    - Added the mime_type method in Apache2::SSI::Finfo

v0.2.3 2021-03-19T12:09:54+0900
    - Removed use of Path::Tiny that was not declared as dependency in test unit 37.flastmod.t.
    - Adjusted Apache2::SSI::SharedMem for lack of support for threaded perl.

v0.2.2 2021-03-18T15:02:07+0900
    - Corrected too short timeout

v0.2.1 2021-03-17T12:11:59+0900
    - Removing use of Devel::Confess used initially for debugging

v0.2.0 2021-03-11T21:53:05+0900
    - Major overhaul with improvements and using powerful expression engine Apache2::Expression

lib/Apache2/SSI/Notes.pm  view on Meta::CPAN

    $notes->unset( 'name' );

It returns the notes object to enable chaining.

=head2 write_mem

Provided with data, and this will write the data to the shared memory.

=head1 CAVEAT

L<Apache2::SSI::Notes> do not work under threaded perl

=head1 AUTHOR

Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>

CPAN ID: jdeguest

L<https://gitlab.com/jackdeguest/Apache2-SSI>

=head1 SEE ALSO

lib/Apache2/SSI/SharedMem.pm  view on Meta::CPAN

    use constant SHM_LOCK_UN    => -1;
    use constant SHM_EXISTS     =>  1;
    use constant LOCK_SH        =>  1;
    use constant LOCK_EX        =>  2;
    use constant LOCK_NB        =>  4;
    use constant LOCK_UN        =>  8;
    # if( $^O =~ /^(?:Android|cygwin|dos|MSWin32|os2|VMS|riscos)/ )
    # Even better
    our $SUPPORTED_RE = qr/\bIPC\/SysV\b/m;
    if( $Config{extensions} =~ m/$SUPPORTED_RE/ && 
        # No support for threads
        !$Config{useithreads} &&
        $^O !~ /^(?:Android|cygwin|dos|MSWin32|os2|VMS|riscos)/i )
    {
        require IPC::SysV;
        IPC::SysV->import( qw( IPC_RMID IPC_PRIVATE IPC_SET IPC_STAT IPC_CREAT IPC_EXCL IPC_NOWAIT
                               SEM_UNDO S_IRWXU S_IRWXG S_IRWXO
                               GETNCNT GETZCNT GETVAL SETVAL GETPID GETALL SETALL
                               shmat shmdt memread memwrite ftok ) );
        our $SYSV_SUPPORTED = 1;
        eval( <<'EOT' );
        our $SEMOP_ARGS = 



( run in 0.543 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )