Parmenides has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use warnings ; use strict ; print "This program will display what you type in right justified 20 c +haracter columns.\nEnter text and press ctrl + d when done.\n" my @userin = <STDIN> ; printf "%-20s", @userin ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Another newb question
by dasgar (Priest) on Aug 08, 2012 at 06:01 UTC | |
by davido (Cardinal) on Aug 08, 2012 at 06:14 UTC | |
by dasgar (Priest) on Aug 08, 2012 at 06:28 UTC | |
by AnomalousMonk (Archbishop) on Aug 08, 2012 at 10:18 UTC | |
by AnomalousMonk (Archbishop) on Aug 08, 2012 at 10:43 UTC | |
by davido (Cardinal) on Aug 08, 2012 at 16:32 UTC | |
by dasgar (Priest) on Aug 09, 2012 at 03:54 UTC | |
by Parmenides (Novice) on Aug 08, 2012 at 22:30 UTC | |
by dasgar (Priest) on Aug 09, 2012 at 03:40 UTC |