Обсуждение: array values and pl/perl(poss. repost)

Поиск
Список
Период
Сортировка

array values and pl/perl(poss. repost)

От
"Morgan Kita"
Дата:
Hi,

I had a simple question about pl/perl. I am writing a function that takes a row from a table as input which has an
attributethat is a text[][] array. 
How do I best parse this array attribute inside the body of the pl/perl function? Is there anything built into pl/perl
toallow me to automatically convert the postgres style array to a perl array, so that I can cleanly iterate through the
elements?If not is my only option to write a text parser for this?(Seems like too much club to me). 

Thanks,
Morgan