... reducing the code ...
Instead of a million
print AA "HTML string \n";
statements, consider a here-doc:
See Quote and Quote-like Operators and especially Quote-Like Operators (see <<EOF at the end of the latter section (update: just before the Gory details of parsing quoted constructs section)).print AA <<"EndOfHTML"; <html>blah blah blah</html> ... <stuff>yada $scalars and @arrays can be interpolated in some cases yad +a</stuff> EndOfHTML
In reply to Re: Code optimization help and troubleshooting
by AnomalousMonk
in thread Code optimization help and troubleshooting
by newtoperlprog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |