Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: calculate distance between atoms and a target atom

by PerlSufi (Friar)
on Dec 02, 2013 at 22:04 UTC ( [id://1065327]=note: print w/replies, xml ) Need Help??


in reply to calculate distance between atoms and a target atom

Hi there, it doesn't appear that you have formally declared the $pdbline variable. maybe trying
my $pdbline = <IN>;
would work? But basically, you need declare the new variables with 'my'
or better yet, use a 3 pointed opening method like this:
my $filename = $ARGV[0]; open(my $fh, '<:encoding(UTF-8)', $filename)); while (my $pdbline = <$fh>) {

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1065327]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found