Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: foreach loops

by lyklev (Pilgrim)
on Oct 08, 2006 at 12:28 UTC ( #576986=note: print w/replies, xml ) Need Help??


in reply to Re^3: foreach loops
in thread foreach loops

They are not operators but variables. The $, is the string that gets printed between fields automatically, nothing by default. The $\ is what gets printed after allf fields, again nothing by default. If you set it to "\n", every print command will print a newline.

All these nice variables can be found in the perlvar documentation.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://576986]
help
Chatterbox?
[Discipulus]: śledzie!! the only sweet my father in law eat

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-11-21 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (297 votes). Check out past polls.

    Notices?