Hi Monks,
I m trying to make a key by splitting a row separated by pipes.The key would be a concatenation of all the element values stored at indexes which are themselves in a list.
So after spliting i just want to pick those elements and join them with pipe and form my key.
How can i do that ?
my $indexes = join(",",@arrofIndices); my $prodKey = join("|",(split/\|/,$$prodRef[$a])[$indexes]);
Thanks
In reply to Construct Key by split by libvenus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |