Lines Matching full:new
7 sub new { bless {}, shift }
16 my $x = new Foo;
23 my $y = new Foo;
26 Bareword found where operator expected (Do you need to predeclare "new"?) at - line 19, near "new F…
27 syntax error at - line 19, near "new Foo"
33 sub new { bless {}, shift }
42 my $x = new { $class };
51 my $y = new { $class };
59 my $z = new { $class };
63 syntax error at - line 29, near "new { "
69 sub new { bless {}, shift }
78 my $x = new $class;
87 my $y = new $class;
95 my $z = new $class;
99 Scalar found where operator expected (Do you need to predeclare "new"?) at - line 29, near "new $cl…
100 syntax error at - line 29, near "new $class"
106 sub new { bless {}, shift }
115 my $x = new $class ();
124 my $y = new $class ();
132 my $z = new $class ();
136 Scalar found where operator expected (Do you need to predeclare "new"?) at - line 29, near "new $cl…
137 syntax error at - line 29, near "new $class "