Do you know where your variables are? | |
PerlMonks |
Re^3: How to select specific lines from a fileby monkey_boy (Priest) |
on Apr 29, 2014 at 21:29 UTC ( [id://1084400]=note: print w/replies, xml ) | Need Help?? |
Although in the example shown here split would be fine, the fields in these types of file (PDB) are not always defined (e.g. sometimes the chain is blank) so substr or unpack is preferable.
See the PDB documentation for more info http://www.wwpdb.org/documentation/format33/sect9.html#ATOM
This is not a Signature...
In Section
Seekers of Perl Wisdom
|
|