in reply to calculate distance between atoms and a target atom
would work? But basically, you need declare the new variables with 'my'my $pdbline = <IN>;
my $filename = $ARGV[0]; open(my $fh, '<:encoding(UTF-8)', $filename)); while (my $pdbline = <$fh>) {
|
|---|