On Tue, Apr 10, 2001 at 01:11:07PM +0100, Dean wrote:
> Hi All
>       Question for the list, i'm currently writing some scripts for a HP box
> running HPUX 11 and i keep hitting the same error when ever i try and use
> something (even 'use strict;'.) The error is "syntax error in file p2.pl
> at line 2, next 2 tokens "use strict" ". The file is a noddy script with
> 
> #!/usr/contrib/bin/perl
> use strict;
> 
> print "Working...\n";
> 
> Does anyone on list have any experience with perl on this platform and know
> if i need to change the shebang or anything similar.

Try doing:

    /usr/contrib/bin/perl -V

To find out what version it is and post back.

-Dom

Reply via email to