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 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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-11-24 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (143 votes), past polls