$wfs is a reference to an array
I doubt that. What does the TeamSite documentation say?
Most likely, ->GetActiveWorkflows() returns an OLE collection, which would mean you have to work with $wfs->Count and $wfs->Item() or the in function of Win32::OLE.
If $wfs really contains a number after your assignment, then what you proposed should work. What happened when you tried it?
In reply to Re: How to get array elements from reference ?
by Corion
in thread How to get array elements from reference ?
by manishrathi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |