in reply to Re: Re: calling a sub routine from a scalar
in thread calling a sub routine from a scalar

but perl can call a subroutine by name from a string, or a variable, if you do ${'foo'}, perl sees a string so tries to look at the value of $foo. Same thing goes for subroutines... slower, but very handy.
                - Ant
  • Comment on Re: Re: Re: calling a sub routine from a scalar