in reply to Simple Graphics::Primitive example?
Graphics::Primitive is a generic module. Look for examples in the modules specific for the graphic library you want to use. For example in Graphics::Primitive::Driver::GD.
In Section
Seekers of Perl Wisdom