Re: strange construct
Dumas Patrice <[email protected]> Fri, 10 Jan 2003 14:09:34 +0100
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> Dumas> $name .= ' ' while ($node2sec{$name});
>
> See .= in the perlop manpage.
I don't have problem with the .=, but with the while without bloc.
Is it used instead of an if ?
> Dumas> Last, is there a reason why there are so many globally
> Dumas> scoped variables defined in functions (or should I clean
> Dumas> that ?) ?
>
> Can you give some examples?
variables which are global but should in my opinion be declared with my
and not within a function (in pass1):
@lines
@lines2
@toc_lines
....
variables which are global but should be lexically scoped, examples in pass1
$node
$in_table
$in_pre
$html_element
.....
Pat