in reply to Canvas Text Item

The code is trying to insert text into a rectangle, which is not an editable type required by that method. You want instead to use the create_text() method:
$canvas->create_text(80, 40, -text => "testing");

Replies are listed 'Best First'.
Re^2: Canvas Text Item
by john15276 (Initiate) on Jul 24, 2013 at 23:22 UTC

    Thanks thanks thanks for the answer. It works great now.