File: new_one.pl

package info (click to toggle)
libipc-shareable-perl 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 440 kB
  • sloc: perl: 1,225; makefile: 9
file content (14 lines) | stat: -rw-r--r-- 196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use warnings;
use strict;

use Data::Dumper;
use IPC::Shareable;

my $h = IPC::Shareable->new({key => 123456, create => 1, destroy => 1});

$h->{1} = 1;

sleep 5;

print "One:\n";
print Dumper $h;