in reply to Re: Simple Graphics::Primitive example?
in thread Simple Graphics::Primitive example?
I realise the "Graphics::Primitive::Component->new(...)" code you posted is a verbatim copy from the Graphics::Primitive POD; however,
border => new Graphics::Primitive::Border->new( width => 5 )
looks like one "new" too many. From the Graphics::Primitive::Border documentation, that should probably be:
border => Graphics::Primitive::Border->new( width => 5 )
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Simple Graphics::Primitive example?
by hdb (Monsignor) on Feb 25, 2014 at 08:46 UTC |