in reply to Re: Calling OO-method From A Hash
in thread Calling OO-method From A Hash
passes strict without any form of complaint.$quiz->$act()
use strict; sub Foo::hello { shift; printf "Hello, %s!\n", shift; } my $meth = "hello"; my $class = "Foo"; $class->$meth("world");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Calling OO-method From A Hash
by dragonchild (Archbishop) on Mar 03, 2004 at 13:30 UTC |