[gmx-users] perl script for g_hbond

Justin A. Lemkul jalemkul at vt.edu
Tue Nov 23 19:54:13 CET 2010


Quoting leila karami <karami.leila1 at gmail.com>:

> Dear Justin
>
> when I use perl HB.pl -s .pdb -map .xpm -index .ndx, I encountered with:
>
> syntax error at ./HB.pl line 10, near "nothing else"
> "use" not allowed in expression at ./HB.pl line 13, at end of line
> Execution of ./HB.pl aborted due to compilation errors.
>

By copying and pasting from the email message, you have broken a comment line
such that perl is incorrectly interpreting it.  The first line of code (other
than the line indicating the interpreter is "use strict.". Anything preceded by
# is a comment.

-Justin

> --
>
> Leila Karami
> Ph.D. student of Physical Chemistry
> K.N. Toosi University of Technology
> Theoretical Physical Chemistry Group
>


========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
MILES-IGERT Trainee
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================



More information about the gromacs.org_gmx-users mailing list