in reply to Re^5: Noob OO Question
in thread Noob OO Question
tomy $test = new Hi( test_a => 'hello', test_b => \sub{ return 1 }, test_c => \sub{ get_me( $get_a, $get_b ) }, );
my $test = new Hi( test_a => 'hello', test_b => sub{ return 1 }, test_c => sub{ get_me( $get_a, $get_b ) }, );
There's no reason for the extra level of indirect.
|
|---|