On Monday 05 Oct 2009 11:27:23 Raymond Wan wrote: > Hi Andreas, > > Andreas Moroder wrote: > > I want pro print to screen two strings. The problem ist that the length > > of the strings are variable, so I get a unreadable output. Even using \t > > does not help because the lenght can vary from 5 to 15 characters. > > Is there a simple way to expand the first columnt to a fixex size. > > I'm not sure if this will help (I've never used it before): > > http://perldoc.perl.org/perlform.html >
As recommended in Perl Best Practices, one should use: http://search.cpan.org/dist/Perl6-Form/ Instead of perlform which has many design anti-patterns. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ "The Human Hacking Field Guide" - http://shlom.in/hhfg Chuck Norris read the entire English Wikipedia in 24 hours. Twice. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/