Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Space character when using push function on arrays

by nvivek (Vicar)
on Jul 15, 2010 at 12:13 UTC ( #849764=note: print w/replies, xml ) Need Help??


in reply to Space character when using push function on arrays

You're getting that output because the value $" by default is space.That's why,you're getting 0\n then space which $" is a delimiter and then 1\n followed by space and it continues. If you want to check it,you change the value of $" and check it.You'll understand.To know better about these kind of special variables you refer this URL. http://www.tutorialspoint.com/perl/perl_special_variables.htm

  • Comment on Re: Space character when using push function on arrays

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849764]
help
Chatterbox?
[oiskuu]: .oO(-: V is for Varoufakis :-)
[LanX]: shmem: but only because it is taught in school
LanX remembers one curriculum about benny and the punishment whe we didn't laugh ...hill

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-04-27 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (513 votes). Check out past polls.