Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Text::Autoformat

by GrandFather (Saint)
on Apr 28, 2006 at 20:18 UTC ( #546382=note: print w/replies, xml ) Need Help??


in reply to Text::Autoformat

When you have sorted out your single print variant you may be interested in this three print variant

use strict; use warnings; my @lines = map {(substr ' ' x 15, 0, 15 - $_) . ('@' x (2 * $_)) . '@ +'} (0..4); print join "\n", @lines, ''; print ' ' x 10, '@' x 11, "\n"; print join "\n", reverse @lines;

Prints:

@ @@@ @@@@@ @@@@@@@ @@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@ @@@@@@@ @@@@@ @@@ @

DWIM is Perl's answer to Gödel

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://546382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-06-09 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (35 votes). Check out past polls.

    Notices?