Thanks TIm
I was adding the ENV{"path"} but not in the BEGIN block..
Thanks for info
--------------
BEGIN{
$ENV{ 'PATH' } = '/bin:/usr/bin:/usr/local/bin';
delete @ENV{ 'IFS', 'CDPATH', 'ENV', 'BASH_ENV' };
}
use PDL;
On Mon, Nov 3, 2014 at 9:48 PM, Tim Jenness <[email protected]> wrote:
> use a BEGIN block and put it before the 'use PDL'
>
> BEGIN {
> $ENV{PATH} = "blah:blah";
> }
>
> On Mon, Nov 3, 2014 at 4:41 AM, Ronak Agrawal <[email protected]>
> wrote:
>
>> Hi all
>>
>> Thanks for constant help.
>>
>> I was trying to make a module of my PDL Code. However I am getting the
>> following error in the *make test *command:
>>
>> Error: Insecure $ENV{PATH} while running with -T switch at
>> /usr/local/lib/perl/5.14.2/PDL/IO/Pic.pm line 190, <DATA> line 207.
>>
>> I found the system command is giving the error.
>> I tried changing the env path but I was not successful
>>
>> Can you suggest me better ways
>>
>> ----My module Code
>>
>> package Try::Point;
>>
>> use 5.10.0;
>> use strict;
>> use warnings;
>> use PDL;
>>
>> =head1 NAME
>>
>>
>>
>> Try::Point - The great new Try::Point!
>>
>>
>>
>> =head1 VERSION
>>
>>
>>
>> Version 0.01
>>
>>
>>
>> =cut
>>
>> our $VERSION = '0.01';
>> #$ENV{ 'PATH' } = '/bin:/usr/bin:/usr/local/bin';
>>
>> =head1 SYNOPSIS
>>
>>
>>
>> _______________________________________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>
>>
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl