Are you trying to find out who called you or who you are?  Perl has
caller which gives info about who I am , who called, etc.

        What are you trying to do?
Wags ;)

-----Original Message-----
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 10:32
To: '[EMAIL PROTECTED]'
Subject: Re: Sub Name


From: "Balint, Jess" <[EMAIL PROTECTED]>

> Hi all. Is there a way to get a subroutine name into a string? Thanks.
> Jess
> 
> sub jess{ }
> 
> sub name{
>  $subref = shift;
>  print $subref;
> }
> 
> name( \&jess );

Well, yes. You could search through the namespaces.

But it's gonna be slow.

Why do you want that?

Jenda
=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me


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


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


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

Reply via email to