On 12/06/2011 01:51 PM, [email protected] wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Dec 05, 2011 at 11:05:48AM -0600, Joel Sherrill wrote:

[...]

$AFTER_BODY_OPEN =
'<A HREF="http://www.rtems.com";  target="Text Frame">
<IMG align=right BORDER=0 SRC="../images/rtems_logo.jpg" ALT="RTEMS
Logo">    </A>
<H1>RTEMS @VERSION@ On-Line Library</H1>
';

1;
[...]

What does the "1;" do?
That's a classical Perl idiom: module files are "incorporated" by
eval()ing their content; the result of eval tells the client whether
things went well. Since the result of evaling a sequence of
statements/expressions is the value of the last one, one typically ends
a module with "1", meaning "all is well".
Thanks.  So it is the return value. :)

I can't believe in 20+ years of free software work, that I have managed
to largely avoid Perl and awk.

Just to let you all know. Today I committed the patches to our documentation
and make system to use texi2html.  The documentation is published by cron
twice a day and it is online now. The library index is at:

http://rtems.org/onlinedocs/doc-current/share/rtems/html/index.html

Now we need to figure out how to address the need to support texi2any
and texi2html in parallel. When it is available, we would like to use texi2any but it won't be widely available for a while. Old distros won't have it unless
the user installs it.

Thank you.
HTH

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFO3nIqBcgs9XrR2kYRAjHBAJ4yj2nwl+/+aKICF0wEfhpc0gpavQCffqAg
2lRhSGDYK6CFVann/TtlDSw=
=CLlu
-----END PGP SIGNATURE-----


--
Joel Sherrill, Ph.D.             Director of Research&  Development
[email protected]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



Reply via email to