"Colin Johnstone" <[EMAIL PROTECTED]> wrote ...
> Gidday all,
Hello.
> I wish to access the elements of an array passed by reference
> #get deploy list
> my @$deployList = $task->GetVariable('deployList');
> foreach( @$deployList ){
>
> }
If $task->GetVariable('deployList') returns a referenc
Johnstone, Colin wrote:
> Gidday all,
>
> I wish to access the elements of an array passed by reference
Erm, OK. I don't see any passing by reference going on below...
>
> #get deploy list
> my @$deployList = $task->GetVariable('deployList');
This is not valid Perl. If GetVariable returns an a
On Mon, 15 Nov 2004 16:52:40 +1000, Johnstone, Colin
<[EMAIL PROTECTED]> wrote:
Gidday all,
I wish to access the elements of an array passed by reference
#get deploy list
my @$deployList = $task->GetVariable('deployList');
foreach( @$deployList ){
print; #$_ worked automatically
}
alternat
Gidday all,
I wish to access the elements of an array passed by reference
#get deploy list
my @$deployList = $task->GetVariable('deployList');
foreach( @$deployList ){
}
Any help appreciated
Thank You
Colin Johnstone
Interwoven Teamsite Analyst Programmer
eGovernment Delivery Team
QLD Depar