in reply to (unless) usage

You're missing a semi-colon on the 2nd line
my $success = open RF, "/bin/.saved_points" <-- needs a semi-colon
Also the 4th line has a colon instead of a semi-colon
my $fail = MainWindow->new(): <-- should be a ;

HTH

_________
broquaint