> #/usr/bin/perl -w
should be
#!/usr/bin/perl -w
ie, with a ! after the #.
If you are invoking this without 'perl ' in front of the
script name, then your OS will think it's a shell script...
- can't open filehandle Eric Van Buggenhaut
- Me
