Hi,
I am creating a program that calculates the distance between the x, y, z coordinates of atoms listed in a pdb file.
So far i have this:
#!/usr/bin/perl -w
$num = 0;
$count = 0;
while (<>) {
# Find x, y, z coordinates and store in separate arrays
if ($_ =~ /^ATOM/) {
@line = $_...