Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: array join missing zero and space

by jimmy.tty (Beadle)
on Jul 05, 2011 at 18:18 UTC ( #912858=note: print w/replies, xml ) Need Help??


in reply to Re: array join missing zero and space
in thread array join missing zero and space

Another alternative:

@numbers = (4,7,11,14); printf '0 %d ' x $#numbers . '0 %d', @numbers

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912858]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2017-02-26 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.