develooper Front page | perl.beginners | Postings from September 2008

Octal code for "^L"

Thread Previous | Thread Next
From:
Moon, John
Date:
September 5, 2008 03:43
Subject:
Octal code for "^L"
Does anyone know the octal code for what vi is showing as "^L"? I tried
"\n\r" & \r\n" but that does not seem to be the same... I am on a UNIX
box... I need the octal code to add to the beginning of first record
written from my perl script... I'm using "write" and "format" and need
ALL headers to be alike... the first is w/out the "^L"... 

Thank you in advance...

John W Moon


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About