Align left, right and center : Alignment « Report « Perl






Align left, right and center

   

$str = formline <<'EOD', right, center, left;
Here's some text justification...
----------------------------
@<<<<<<<<@|||||||@>>>>>>>>>>
EOD

print "$^A\n";

   
    
    
  








Related examples in the same category

1.Align fields on a report?