#36 $win -> cursor breaks on error

closed-duplicate
PGPLOT (20)
5
2002-05-01
2002-04-28
Anonymous
No

While using

( $x, $y, $ch, $xref, $yref) = $win -> cursor({'Type'
=>
'CrossHair'});

I get an error if the cursor lies outside the view
surface, which
breaks the application I am writing, with the following
message:

Position out of range at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/PDL/Core.pm
line 1965, <> line 2.
(in cleanup) Can't call method "clear" on an undefined
value at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/PDL/Graphics/PGPLOT/Window.pm
line 2161, <> line 2 during global destruction.

Discussion

  • Doug Burke
    Doug Burke
    2002-05-01

    Logged In: YES
    user_id=7154

    Closing since a duplicate of #549648

     
  • Doug Burke
    Doug Burke
    2002-05-01

    • status: open --> closed-duplicate