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

Re: output record seperator!

by neshura (Chaplain)
on Aug 27, 2000 at 10:14 UTC ( [id://29866]=note: print w/replies, xml ) Need Help??


in reply to output record seperator!

Doh! Updating because it is late and I misread...$\ is set to newline by default. You may choose to set it to something else. Check perlman:perlvar for more information.

e-mail neshura

Replies are listed 'Best First'.
RE: Re: output record seperator!
by mdillon (Priest) on Aug 27, 2000 at 12:57 UTC

    actually, $\ is set to undef by default. perhaps vnpandey's code is using a module that sets $\ before it is printed.

    i ran the following on my system and it showed me that $\ hadn't yet been set:

    perl -e "print '$\ undefined', $/ unless defined $\;"

    outputs (for me):

    $\ undefined

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-28 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found