in reply to converting from string to SCALAR when using strict "refs"
Here's the code from your update with <code> tags added.
$processor = `/aa/bin/get_pbind_cpus.ksh`; # Line 325 system("$os_cmd_table{$^O}{pbind} -b $$processor $$proc_id{$_} >/dev/n +ull 2>&1") if defined $$processor;
From this, I think that $processor is being misused as a reference. Line 325 should be:
system("$os_cmd_table{$^O}{pbind} -b $processor $$proc_id{$_} >/dev/nu +ll 2>&1") if defined $processor;
Try it and let us know how it works.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: converting from string to SCALAR when using strict "refs"
by usrlocal (Novice) on Jan 21, 2009 at 16:47 UTC | |
by kyle (Abbot) on Jan 21, 2009 at 16:54 UTC | |
by zentara (Cardinal) on Jan 21, 2009 at 16:58 UTC | |
by usrlocal (Novice) on Jan 21, 2009 at 19:07 UTC | |
by usrlocal (Novice) on Jan 21, 2009 at 19:31 UTC | |
by kyle (Abbot) on Jan 21, 2009 at 20:02 UTC |