Help for this page

Select Code to Download


  1. or download this
    my $temp_obj = "Foo::$type"->new();
    
    ...
    
    no strict 'refs';    # because this isn't very strict
    my $temp_obj = &{"Foo::${type}::new"}("Foo::$type");