in reply to using -w breaks simple script
Hmm, the code works fine for me using an old 5.005_03 Perl install on Solaris 8.