[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Numbering Lines in MacPerl



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 1:48 PM -0400 6/25/98, Chris Nandor wrote:

} At 09.29 -0400 1997.06.25, Matt Kraft wrote:
} >How do I number lines in MacPerl?  Whenever I run my script it says:
} >
} ># Missing right bracket, at end of line
} >File 'Untitled'; Line 928
} ># syntax error, at EOF
} >File 'Untitled'; Line 928
} ># Execution of Untitled aborted due to compilation errors.
} >
} >But I can't find line 928 so I can't fix it.
}
} Editing the script in BBEdit, BBEdit Lite, Alpha, etc. allows quick access
} to line numbers.  It is not generally recommended to write large scripts in
} the MacPerl editor.

Yes, but in this case it probably wouldn't help.  Notice that line 928 is
the end of file.  This is one of those annoying missing right brace errors
that are a real nuisance to fix.  I generally use a editor that visually
displays matching braces (like emacs and to a certain extent Alpha) to try
and fix them.  On occasion I've had to dismantle a file, removing inner
blocks, to find the problem.

}
} --
} Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
} %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])
}
} ***** Want to unsubscribe from this list?
} ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch



- -----
Paul J. Schinder
schinder@pobox.com

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNZLXg1ZaVc52j0XhEQKq2QCeImaP29lF/qIEniAuEulVjKi69wUAoP1t
IgmOLSyv4XxQzd3DBunD0VjP
=D2hB
-----END PGP SIGNATURE-----

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch