Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print

Status
Not open for further replies.

hyperphoenix

Technical User
Sep 4, 2008
20
US
can print display results in rows instead of columns?

thank you
 
Now that's a well-formed, detailed description of your problem. The answer is "yes".

Posting the same question multiple times is a good way to get people to ignore you.


What did travs69's suggestions give you? Don't answer that here -- answer it in your original thread.

--
 
i have posted my response in the other thread -- so how do you delete unwanted treads? i am thankful for your quick
response just doing this for fun - what are you doing this for?
 
Likewise with the first response - yes.
However just how you get 'print' to do this heavily depends on what your trying to print.
For example
Code:
@out_buff = ('an', 'array', 'of', 'single', 'unit', 'vals');
print "$_\n" foreach (@out_buff);
will print as a single column. However
Code:
@out_buff1 = ('an', 'array', 'of', 'single', 'unit', 'vals');
@out_buff2 = ('another', 'array', 'with', 'different', 'single', 'unit', 'vals');
print "$_\n" foreach (@out_buff1, @out_buff2);
will also print as a single column. If you're after two columns, one for each array, you'll have to be a little more creative (especially since the two arrays are of different size).

... and again, in agreement with the original post, the original question is too vague to be of more help at this point.
 
Oops - went dyslexic and reversed the words rows/columns in opening post - please disregard my last (2) posting(s) here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top