use B::RecDeparse;
-my $brd = new B::RecDeparse;
+my $brd = B::RecDeparse->new;
ok(defined $brd, 'BRD object is defined');
is(ref $brd, 'B::RecDeparse', 'BRD object is valid');
ok($brd->isa('B::Deparse'), 'BRD is a BD');
is(ref $brd3, 'B::RecDeparse', 'BRD::new called as a functions returns a B::RecDeparse object');
ok($brd3->isa('B::Deparse'), 'BRD is a BD');
-eval { $brd2 = new B::RecDeparse qw<a b c> };
+eval { $brd2 = B::RecDeparse->new(qw<a b c>) };
like($@, qr/Optional\s+arguments/, 'BRD::new gets parameters as key => value pairs');