"Dr.Ruud" schreef: > Or set a variable like $LF to '\n'. > > my $LF = q{\n} ; > print $script "print q{${^O}${LF}};\n" ;
Oops, make that last line: print $script "print qq{$^O$LF};\n" ; or, if you need the late OS-name: print $script "print qq{\${^O}${LF}};\n" ; -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>