in reply to Re^3: calculate distance between atoms and a target atom
in thread calculate distance between atoms and a target atom

@pdblines is empty, so you never enter your for loop:

my @pdblines = (); while (<IN>) { for ( @pdblines) {

I can't begin to work out what you think should happen here.

BTW: If you indent your code correctly and consistently, more people will be encouraged to consider it.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.