On Wed, 15 Dec 2004 08:57:01 -0500, Thomas, Mark - BLS CTR
<[EMAIL PROTECTED]> wrote:
>
> It looks like foo.keys returns nothing if foo is blessed into a class. Is
> there a workaround for this? Thanks.
>
> - Mark.

yes, have the class implement this method:

sub keys {
  my $self = shift;
  return [ keys %$self ];
}

(d'oh, did "reply" instead of "reply all" again.)

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to