What do you mean by "singular data store connection"? All this class seems to do is to add a layer of indirection over Apache::Session::MySQL. That can be useful, but I fail to see what it's trying to accomplish here. Could you elaborate a bit?
Off topic, using map in a void context is weird if not error-prone or slow. You should replace
map{$self->{session}->{$_} = $args{$_}} keys %args;
with
$self->{session}->{$_} = $args{$_} foreach keys %args;
In reply to Re: Structure of a custom class (using Apache::Session)
by ikegami
in thread Structure of a custom class (using Apache::Session)
by jeyroz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |