p4raw-id: //depot/perl@27510
use overload '""' => sub {"CLiK KLAK"};
package Ksshfwoom;
- use overload '""' => sub {"OOOKK AWK"};
package main;
bless $obj, 'Ksshfwoom';
- is ($obj, "OOOKK AWK");
- is ($ref, "OOOKK AWK");
+ like ($obj, qr/^Ksshfwoom=/);
+ like ($ref, qr/^Ksshfwoom=/);
undef $obj;
is ($ref, undef);