Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: use strict;

by davorg (Chancellor)
on Feb 01, 2001 at 22:43 UTC ( #55785=note: print w/replies, xml ) Need Help??


in reply to Re: use strict;
in thread use strict;

When you're running perl script.pl you are using the version of Perl from your path. This seems to be fine.

When running ./script.pl you're using the version in /usr/contrib/bin/perl. Looks like that's Perl version 4. to confirm this type
/usr/contrib/bin/perl -v at your command line.

To fix it, find out which version of Perl is on your path by typing which perl and replace the /usr/contrib/bin/perl in your script with the results of that command.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://55785]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-23 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (338 votes). Check out past polls.