in reply to script-problem
The #!/usr/bin/perl is either wrong for your system (the path to perl may be /usr/local/bin/perl or something else) or there is some unprintable character after the 'perl' adding a '--' after that will fix that.
/J\