Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Simple Graphics::Primitive example?

by kcott (Archbishop)
on Feb 25, 2014 at 08:08 UTC ( [id://1076102]=note: print w/replies, xml ) Need Help??


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

    Thanks for pointing this out. As I got stuck on installing the prerequisites I never quite got to that point.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found