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

Re: Space character when using push function on arrays

by TedPride (Priest)
on Jul 15, 2010 at 19:11 UTC ( [id://849840]=note: print w/replies, xml ) Need Help??


in reply to Space character when using push function on arrays

my (@arr, $i); for $i (0..4) { push @arr, $i, "\n"; } print join '', @arr;

Replies are listed 'Best First'.
Re^2: Space character when using push function on arrays
by iamravikanth (Novice) on Jul 15, 2010 at 19:57 UTC
    Thanks a lot monks, it resolved the issue.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-28 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found