agustina_s has asked for the wisdom of the Perl Monks concerning the following question:
Basically the $entry->DEs->elements() will return an array of gen description and the $de->text() will return each element of the array... The content of the array :Cytotoxin, Cardiotoxin analog,CTX III,Ctx-3,Cardiotoxin C-10 The output of the above code is:print " Description "; foreach my $de ($entry->DEs->elements()) { print OUT join ("\n", $de->text()),"\n" ; }
Is there any way to make the second input till the last one in bracket such as :Description Cytotoxin Cardiotoxin analog CTX III Ctx-3 Cardiotoxin C-10
Thanks so muchhh.....Description Cytotoxin (Cardiotoxin analog )(CTX III) (Ctx-3)(Cardiotoxin C-10).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: about () in the second,third etc data
by projekt21 (Friar) on Jan 17, 2002 at 16:23 UTC | |
by demerphq (Chancellor) on Jan 17, 2002 at 16:31 UTC | |
|
Re: about () in the second,third etc data
by goldclaw (Scribe) on Jan 17, 2002 at 16:58 UTC |