in reply to Re: print on one line
in thread print on one line

It is true that the -l switch is not needed. Nor is $\="" needed since there is no input. Removing both will still output horizontal asterisks.

However, -w will not affect the output with respect to horizontal or vertical; it enables warnings. See perlrun.

Replies are listed 'Best First'.
Re^3: print on one line
by rovf (Priest) on Jun 30, 2010 at 07:55 UTC
    However, -w will not affect the output with respect to horizontal or vertical; it enables warnings.
    Exactly, and that's why I recommended it.

    -l is not needed, so I suggested to remove it. -w is recommendet, so I suggested to add it. If you remove l and add w, you can equally say that you replace l by w ;-)

    -- 
    Ronald Fischer <ynnor@mm.st>