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
In reply to Re^2: Simple Graphics::Primitive example?
by kcott
in thread Simple Graphics::Primitive example?
by djzort
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |