• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/CPANInternal-140/Variable-Magic/t/

Lines Matching refs:watch

24 watch { cast $a, $wiz } { }, 'cast';
28 watch { $b = $a } { get => 1 }, 'assign to';
31 $b = watch { "X${a}Y" } { get => 1 }, 'interpolate';
34 $b = watch { \$a } { }, 'reference';
36 watch { $a = 123; () } { set => 1 }, 'assign to';
38 watch { ++$a; () } { get => 1, set => 1 }, 'increment';
40 watch { --$a; () } { get => 1, set => 1 }, 'decrement';
42 watch { $a *= 1.5; () } { get => 1, set => 1 }, 'multiply in place';
44 watch { $a /= 1.5; () } { get => 1, set => 1 }, 'divide in place';
46 watch {
48 watch { cast $b, $wiz } { }, 'cast 2';
51 watch { undef $a } { set => 1 }, 'undef';
53 watch { dispell $a, $wiz } { }, 'dispell';
59 watch { cast $a[1], $wiz } { }, 'array element: cast';
61 watch { $a[1] = 6; () } { set => 1 }, 'array element: set';
63 $b = watch { $a[1] } { get => ($is_5130_release ? 2 : 1) },'array element: get';
66 watch { $a[0] = 5 } { }, 'array element: set other';
68 $b = watch { $a[2] } { }, 'array element: get other';
71 $b = watch { exists $a[1] } { }, 'array element: exists';
75 watch { $b = delete $a[1] } { get => 1, free => ($] > 5.008005 ? 1 : 0) }, 'array element: delete';
78 watch { $a[1] = 4 } { }, 'array element: set after delete';
84 watch { cast $h{b}, $wiz } { }, 'hash element: cast';
86 watch { $h{b} = 6; () } { set => 1 }, 'hash element: set';
88 $b = watch { $h{b} } { get => ($is_5130_release ? 2 : 1) }, 'hash element: get';
91 watch { $h{a} = 5 } { }, 'hash element: set other';
93 $b = watch { $h{a} } { }, 'hash element: get other';
96 $b = watch { exists $h{b} } { }, 'hash element: exists';
99 $b = watch { delete $h{b} } { get => 1, free => 1 }, 'hash element: delete';
102 watch { $h{b} = 4 } { }, 'hash element: set after delete';
125 watch { delete $a[0] } [ qw/get clear free/ ], 'delete from tied array';