2 use test::helper qw($_real $_point);
6 open($file, '>', 'womble');
7 print $file "hippity\n";
9 ok(-f "womble","exists");
10 is(-s "womble",8,"right size");
11 ok(truncate("womble",4),"truncate");
12 ok(-f "womble","file exists");
13 is(-s "womble",4,"right size");