Re: Issue while calling the subroutine dynamically

2007-11-07 Thread [EMAIL PROTECTED]
On Nov 6, 6:08 pm, [EMAIL PROTECTED] (Chas. Owens) wrote: > On 11/6/07, Ab <[EMAIL PROTECTED]> wrote: > snip> Now, The thing I am trying to achieve is to call abhinav::test::test2 > > on the runtime. > > ie, I am passing the value 'abhinav::test::test2' in a variable, and > > trying to exec in the

Re: Issue while calling the subroutine dynamically

2007-11-06 Thread Chas. Owens
On 11/6/07, Ab <[EMAIL PROTECTED]> wrote: snip > Now, The thing I am trying to achieve is to call abhinav::test::test2 > on the runtime. > ie, I am passing the value 'abhinav::test::test2' in a variable, and > trying to exec in the code below, and this place I am failing. > Can someone help me as t

Re: Issue while calling the subroutine dynamically

2007-11-06 Thread John W . Krahn
On Tuesday 06 November 2007 00:40, Ab wrote: > I have a package with the following contents. > --- > package abhinav::test; > > use strict; > use warnings; > > sub test1 > { > return "\nHello World"; > } > > sub test2 > { > my ($include) = @_; > foreach my $row (@$