Tejay
11-25-2002, 06:21 PM
How can I use carriage returns, ^M, in Perl format function?
Should I put it in the format itself, @<<<<<<^M? Or should it be apart of my text like:
my $text = "Hello^M";
@<<<<<<
$text
.
What's the difference between ^M (Ctrl M) and \cM?
Thanks.
Should I put it in the format itself, @<<<<<<^M? Or should it be apart of my text like:
my $text = "Hello^M";
@<<<<<<
$text
.
What's the difference between ^M (Ctrl M) and \cM?
Thanks.