Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: How to select specific lines from a file

by monkey_boy (Priest)
on Apr 29, 2014 at 21:29 UTC ( #1084400=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to select specific lines from a file
in thread How to select specific lines from a file

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...
  • Comment on Re^3: How to select specific lines from a file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1084400]
help
Chatterbox?
[shmem]: well, there are some builtins which don't have a prototype...
[Discipulus]: eh eh.. i was looking in toke.c but dunno if is already used
[shmem]: oh the whitespace in the regex got condensed, meh
[shmem]: should be /^ {7}(\w+)/ or such
[shmem]: ...at least for my perldoc on Linux debian 8
[Discipulus]: mmh.. at themomemt i just an old 5.8 and outputs just GLOBAL::

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-05-23 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?