in reply to Re^4: Thx, St. Larry, for the Beauty of Sigils
in thread Thx, St. Larry, for the Beauty of Sigils

> I suppose that by "check the type" you mean try to use the value and hopefully catch the error if it didn't work :P

Python doesn't have separated namespaces for scalar, array, hash or function attributes for classes.

Perl does have separated slots in a package STASH.

So ->can() will only return valid coderefs.

I suppose getattr() returns on them all.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice