> -----Original Message-----
> From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
> sub blessed {
> eval { shift->can("can") };
> return !$@;
> }
>
> If it can "can", then it's an object.
[We're going to lurch a bit off topic here...]
How come "1" can't can but "a" can?
print "a: ",blessed("a"),"\n1: ",blessed("1"),"\n";
That kinda surprised me.
--mark mills
Xodiax Engineering
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates