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