Hey guys I have been out of the perl loop for some time now and unfortunatly I feel quite rusty. Anyway I need to do some formatting of data where each line is in the same format, and I have a few section that need to be left or right justified and then padded with whitespace.
I think I remember doing this sort of stuff with HEREDOCS (I think that was what it was called) where you do a bunch of <<<<<<<< <<<< <<< and then when you use that format it makes that each one is the correct ammount of spaces.
As an example if I were to use that format and have this set of data "one" "two" "b" I would get "one two b " (Quotes just used to put emphasis on white space).
Unfortuantly, either HEREDOCS is not the right term (which would explain why my searches aren't turning up anything useful) or using HEREDOCS have come out of use. Any help would be appreciated. Thanks.
Edited by Chady -- code tags around whitespaced string
In reply to Formatting Question by debiandude
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |