If neither X nor Y is true, $Znx does not get assigned a value, so it remains undefined. Perl treats that as zero, which may or may not be what you want.if (X) { $Znx = ...; } elsif (Y) { $Znx = ...; }
In reply to Re: calculate distance between atoms and a target atom
by educated_foo
in thread calculate distance between atoms and a target atom
by mishimakaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |