Subject: | Problem with startenv when creating a GRID::Machine object |
On: Ubuntu Karmic (i386 2.6.31-16-generic)
With: This is perl, v5.10.0 built for i686-linux
I am trying to create a GRID::Machine object with the 'startenv' option set (according to the documentation, its value has to be an hashtable reference):
Show quoted text
use GRID::Machine;
my %env_hashtable_BIS = ('ORACLE_BASE' => '/u01/app/oracle','ORACLE_HOME' => '/u01/app/oracle/produ +ct/tools/');
my $m = GRID::Machine->new( 'host' => 'oracle@sad01', 'uses' => [qw(Sys::Hostname)], 'startenv' +=> \%env_hashtable_BIS);
RESULT at runtime:
Not an ARRAY reference at /opt/lampp/lib/perl5/site_perl/5.10.0/GRID/Machine.pm line 138.
I have checked this 138 line and it seems to be a problem (have a look on startenv => { qw{ @$startenv } })
With: This is perl, v5.10.0 built for i686-linux
I am trying to create a GRID::Machine object with the 'startenv' option set (according to the documentation, its value has to be an hashtable reference):
Show quoted text
#!/opt/lampp/bin/perl -w
use Sys::Hostname;use GRID::Machine;
my %env_hashtable_BIS = ('ORACLE_BASE' => '/u01/app/oracle','ORACLE_HOME' => '/u01/app/oracle/produ +ct/tools/');
my $m = GRID::Machine->new( 'host' => 'oracle@sad01', 'uses' => [qw(Sys::Hostname)], 'startenv' +=> \%env_hashtable_BIS);
RESULT at runtime:
Not an ARRAY reference at /opt/lampp/lib/perl5/site_perl/5.10.0/GRID/Machine.pm line 138.
I have checked this 138 line and it seems to be a problem (have a look on startenv => { qw{ @$startenv } })