Is it possible to create self aware functions (possibly using a magic
variable)?  I.e. functions that know their own name.  Sort of the
oppossite of bless.

Basically, I want to create functions like:

sub foo {
  my $self = shift (@_);
  my $name = decode_blessing ($self);
}       

Does that make sense?

Thanks in advance,
Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to