Yes, I did uncomment the if statement and comment the other print. But, I didn't get any output. $foo-> identifiers() prints the following output.
PMID: PMID: 4012367
it prints this if its only PMID else, if there are two identifiers it prints both the doi and the PMID as follows
PMID: doi:10.1093/fampra/cmq003PMID: 20215333
In reply to Re^4: Extracting web data
by Anonymous Monk
in thread Extracting web data
by smandape1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |