Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Answer: How do I print an array with commas separating each element?

by ar0n (Priest)
on Aug 30, 2000 at 15:13 UTC ( #30281=categorized answer: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $, = ',';
      print @array;
    
  2. or download this
      local $, = ',';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2021-03-07 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (123 votes). Check out past polls.

    Notices?