in reply to Regular Expression
While looking at this node, I saw
and wondered what that leading period was on the number. Is .0 equivalent to 0.0?$month=.0.$month;
yields 0abc, but then I tried:my $s = 'abc'; $s = .0.$s; print $s, "\n";
which yields 0D, and so doesmy $n = .0; print $n, "\n";
So the newline character is being converted to its ASCII code. Would someone explain this to me please?print .0, "\n";
|
|---|