RE: Sub Name

2002-09-23 Thread Balint, Jess
Sure I could. And if I were smart, I could of thought of that. Thank you. -Original Message- From: Tanton Gibbs [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:12 PM To: Balint, Jess; [EMAIL PROTECTED] Subject: Re: Sub Name Can you just make the sub function return an

Re: Sub Name

2002-09-23 Thread Tanton Gibbs
Can you just make the sub function return an array with the first element being its name and the second being the data? - Original Message - From: "Balint, Jess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 2:09 PM Subject: RE: S

RE: Sub Name

2002-09-23 Thread Balint, Jess
. Thanks again. -Original Message- From: Wagner, David --- Senior Programmer Analyst --- WGO [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:35 PM To: 'Jenda Krynicky'; '[EMAIL PROTECTED]' Subject: RE: Sub Name Are you trying to find out who calle

Re: Sub Name

2002-09-23 Thread Tanton Gibbs
Oops...I missed the point here...ignore my comments...sorry for wasting bandwidth...I was answering a completely different question. - Original Message - From: "Balint, Jess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 1:11 PM Subject: Sub Name > Hi all.

Re: Sub Name

2002-09-23 Thread Tanton Gibbs
ymore. - Original Message - From: "Nikola Janceski" <[EMAIL PROTECTED]> To: "'Balint, Jess'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 1:23 PM Subject: RE: Sub Name > why would you want that? 'use Carp&#

RE: Sub Name

2002-09-23 Thread Wagner, David --- Senior Programmer Analyst --- WGO
: '[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; > } >

Re: Sub Name

2002-09-23 Thread Tanton Gibbs
perldoc -f caller - Original Message - From: "Balint, Jess" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 1:11 PM Subject: Sub Name > Hi all. Is there a way to get a subroutine name into a string? Thanks. > Jess > > sub jess{ } > > sub name{ > $subref =

Re: Sub Name

2002-09-23 Thread Jenda Krynicky
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. Wh

RE: Sub Name

2002-09-23 Thread Nikola Janceski
why would you want that? 'use Carp' does something like that, but I think it actually crawls up the stack. > -Original Message- > From: Balint, Jess [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 1:11 PM > To: '[EMAIL PROTECTED]' > Subject: Sub Name > > > Hi all. Is there