How do I align the text in a print statement
I assume you mean wrap, not align. It depends on where you want the wrapping to happen:
In the source file? There are several techniques, the simplest is probably using the . (dot) concatenation operator:
print "How do I align this statement so " ."that it does not look like a run on " ."sentence and take up the whole screen? \n";
There are also modules to help you with formatting your Perl source, in particular perltidy, although that won't break up long strings like that for you.
In reply to Re: text alignment
by haukex
in thread text alignment
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |