if( $item and @$item ){ $canvas->configure(-cursor => 'crosshair'); } else { $canvas->configure(-cursor => 'arrow'); }