Tests for Embperl - Set Session Data

fdat:
[- @ks = sort keys %fdat -]

[+ $ks[$row] +] | [+ $fdat{$ks[$row] || ''} +]

udat:
[- $id = tied (%udat) -> getid -] [- @ks = grep (!/^_/, sort (keys %udat)) ; $num = keys (%udat) - @ks - ($id?0:1) -]

[+ $ks[$row] +] | [+ $udat{$ks[$row] || ''} +]

[+ $id?"ok (num=$num)":"Not a session hash (num=$num)" +]

[- while (($k, $v) = each (%fdat)) { $udat{$k} = $fdat{$k} ; } -] [- $s = $Apache::Session::Win32::sessions || $Apache::Session::MemoryStore::store -] [- @ks = sort keys %$s -] sessions:

[+ $ks[$row] +] | [+ $s -> {$ks[$row] || ''} +]