print "do you want to remove tags Y/N \n"; chomp(my $ok = <>), my $yes = 'y'; my $no = 'n';