in reply to Re: Re: Re: Module Data Dump.
in thread Module Data Dump.

You mean that will actually work? Well, it certainly seems logical :)

DakeDesu teh Confused Werewolf.
In perl, only those who are bless'd are treated as objects
(Webpages under construction)

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Module Data Dump.
by IlyaM (Parson) on Apr 01, 2002 at 10:13 UTC
    Have you tried?

    my $does = bless {}, 'Test'; my $it = 'test'; my $answer = $does->$it('work?'); print $answer, "\n"; package Test; sub test { return 'Sure'; }

    --
    Ilya Martynov (http://martynov.org/)

      I wasn't sure if my version of Perl had depreciated my computer's self destruct button feature :) (BTW: Why does that appear on computers in various Tv shows and cartoons?)

      DakeDesu teh Confused Werewolf.
      In perl, only those who are bless'd are treated as objects
      (Webpages under construction)