Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: printing out tabs between each element in an array

by McDarren (Abbot)
on Feb 18, 2008 at 13:11 UTC ( #668526=note: print w/replies, xml ) Need Help??


in reply to printing out tabs between each element in an array

Indeed there is. You can use \t to represent a tab. So probably what you want is something like (untested):
print ARRAY_CONTENTS join("\t", @cols_for_row), "\n";
Update: added newline

Cheers,
Darren

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://668526]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-01-24 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (65 votes). Check out past polls.

    Notices?