Unless I have forgotten all my VB/VBA-know-how, the & operator is the string concatenation operator in VB/VBA, which in Perl is the "." (dot) operator.
So in Perl
myAddress = colFields(strItemGUID & ptag_EMAIL_ADDRESS)will become
$myAddress = $colFields[strItemGUID . ptag_EMAIL_ADDRESS]I'm assuming your variable colFields refers to an array (@colFields in Perl) and that the concatenated result of the UID and the ptag is somehow an index into it. Without knowing the rest of your program, it may be that you better use a hash (%colfields) instead of an array.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re: From VB to Perl
by CountZero
in thread From VB to Perl
by ChrisR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |