Heya,
Earlier you said..
When opening the output file with vi ...
Are you looking at the output file in vi? vim?
You didn't mention cat, or, a pager (like less or more).
Are you on a stock linux machine? If so, your vi may be vim.
If so, check your
/etc/vimrc
/usr/local/etc/vimrc
or, your ~/.vimrc
for a vim text wrapping directive such as:
set textwidth=72
If you're using the stock vi on Solaris or BSD or something else there's textwrap controls too.. I don't know them off the top of my head.. I think it's the "wraplen" directive ..
cat your outputfile in a large xterm at the command line - see if you have the same problem.. that is, without using an editor?
As hinted at by Zaxo and Dragonchild, this probably has not to do with Perl:)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.