in reply to use strict;
when i type perl -v i get
when i type which perl i getThis is perl, v5.6.0 built for 9000/777-hpux Copyright 1987-2000, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5.0 source +kit. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge.
i replaced #!/usr/contrib/bin/perl -w with #!/opt/perl5/bin/perl -w and it seems to work fine thanks alot fellow monks you saved me alot of hair pulling snowrider/opt/perl5/bin/perl