RE: FQN from references

2003-10-28 Thread Gupta, Sharad
it somehow, why to make it mandatory in the interface. -Sharad > -Original Message- > From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 8:53 PM > To: Gupta, Sharad > Cc: [EMAIL PROTECTED] > Subject: Re: FQN from references &

Re: FQN from references

2003-10-22 Thread Wiggins d'Anconia
Gupta, Sharad wrote: H!!. I am spinning ;) I'll look at B. The problem was i wanted to know the name of the coderef to generate an error message. Ahh... again depending on your use you may want to have a look at: perldoc -f caller If you haven't, it is very affective for creating traces

Re: FQN from references

2003-10-22 Thread Wiggins d'Anconia
sday, October 22, 2003 6:23 PM To: Gupta, Sharad Cc: [EMAIL PROTECTED] Subject: Re: FQN from references Gupta, Sharad wrote: Hi All, How do i know the full name of a variable from its reference??. Say i have a routine defined like this: package Bar; sub foo {}; And then i say: my $x = \&foo;

RE: FQN from references

2003-10-22 Thread Gupta, Sharad
ns d'Anconia > Cc: Gupta, Sharad; [EMAIL PROTECTED] > Subject: Re: FQN from references > > > On Wed, Oct 22, 2003 at 08:22:47PM -0500, Wiggins d'Anconia wrote: > > Gupta, Sharad wrote: > >> Now from this coderef ($x) i want to know its fully qualified name &

RE: FQN from references

2003-10-22 Thread Gupta, Sharad
6:23 PM > To: Gupta, Sharad > Cc: [EMAIL PROTECTED] > Subject: Re: FQN from references > > > Gupta, Sharad wrote: > > Hi All, > > > > How do i know the full name of a variable from its reference??. > > > > Say i have a routine defined like this: >

Re: FQN from references

2003-10-22 Thread Steve Grazzini
On Wed, Oct 22, 2003 at 08:22:47PM -0500, Wiggins d'Anconia wrote: > Gupta, Sharad wrote: >> Now from this coderef ($x) i want to know its fully qualified name >> which would be somthing like Bar::Foo. Is there a way to do that.??. > > Where do you want to know it? Presumably if you have set it th

Re: FQN from references

2003-10-22 Thread Wiggins d'Anconia
Gupta, Sharad wrote: Hi All, How do i know the full name of a variable from its reference??. Say i have a routine defined like this: package Bar; sub foo {}; And then i say: my $x = \&foo; Now from this coderef ($x) i want to know its fully qualified name which would be somthing like Bar::Foo.

FQN from references

2003-10-22 Thread Gupta, Sharad
Hi All, How do i know the full name of a variable from its reference??. Say i have a routine defined like this: package Bar; sub foo {}; And then i say: my $x = \&foo; Now from this coderef ($x) i want to know its fully qualified name which would be somthing like Bar::Foo. Is there a way to