Instead of burying 

        #!/usr/local/bin/perl -w

at the top of my scripts, I usually use

        #!/usr/bin/env perl -w

so that no matter what I've done with Perl in my path, it can still be
found.

Under mandrake 8.0, I get the error

        perl -w not found.

If I try just

        #!/usr/bin/env perl

it works find.

The man page for env says it should take arguments.

Anyone have any idea?

-- 
Matthew O. Persico
    
http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area

Reply via email to