develooper Front page | perl.perl5.porters | Postings from June 2004

Re: [perl #30103] Problem with -I option in perl Ver 5.8.1

Thread Previous
From:
Nick Ing-Simmons
Date:
June 8, 2004 07:33
Subject:
Re: [perl #30103] Problem with -I option in perl Ver 5.8.1
Message ID:
20040608143254.3957.4@llama.elixent.com
Venkatesh . Sivasubramanian @ Wipro . Com <perl5-porters@perl.org> writes:
># New Ticket Created by venkatesh.sivasubramanian@wipro.com Please include the
># string: [perl #30103] in the subject line of all future correspondence about
># this issue. <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30103 >
>
>
>
>Hai,
>
>I am trying to set a semicolon seperated list of directories with -I option
>when executing perl script. But the perl 5.8.1 fails to find files located in
>specified path. This worked fine with Perl 5.6.1. The commandline looks like
>perl -I C:\project\app1;C:\project\app2 test.pl .

As far as I know this isn't supported.
-I is NOT followed by a space, and you use multiple -I to get multiple
directories, so your example should be:

perl -IC:\project\app1 -IC:\project\app2 test.pl .

Or use PERL5LIB or add 'use lib' to test.pl 



Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About