Re: How to dynamically generate function name and call it?
- From: Uri Guttman <uri@xxxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 17:39:04 -0400
"HS" == Hemant Shah <shah@xxxxxxxxxxxxxxxx> writes:
HS> While stranded on information super highway Brian McCauley wrote:
>>
>> Robert 'phaylon' Sedlacek wrote:
>>
>>> *{'Create' . $TableName . 'Table'}->(@arguments);
>>
>> Or, more simply:
>>
>> "Create${TableName}Table"->(@arguments);
HS> Thanks.
why are you saying thanks and quoting the symref answer? i am always
appalled to see symref answers given out when a dispatch table (as you
were shown) is much safer and a better solution.
uri
--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
.
- References:
- Re: How to dynamically generate function name and call it?
- From: Robert 'phaylon' Sedlacek
- Re: How to dynamically generate function name and call it?
- From: Brian McCauley
- Re: How to dynamically generate function name and call it?
- Prev by Date: Re: An interactive interpreter/shell?
- Next by Date: Re: How to dynamically generate function name and call it?
- Previous by thread: Re: How to dynamically generate function name and call it?
- Next by thread: Re: How to dynamically generate function name and call it?
- Index(es):