in reply to text alignment
If you're talking about output, maybe consider using a heredoc. That's described in "perldoc: Quote-Like Operators". Here's an example:
#!/usr/bin/env perl use strict; use warnings; print <<'EOT'; How do I align this statement so that it does not look like a run on sentence and take up the whole screen? EOT
Output:
How do I align this statement so that it does not look like a run on sentence and take up the whole screen?
You may also find formatted printing, with printf, useful. See the sprintf documentation for the formatting codes (and a huge number of examples).
— Ken
|
|---|