At 3:14 pm -0600 5/1/05, Albert Kaltenbaeck wrote:
I am having problems with the substr command. It appears under OSX Perl the length value is being ignored. This code worked under MacPerl ...
Do you get the expected result when you run this ?:
$f = "ClientD.html"; $/ = "\n"; open F, $f or die $!; while (<F>) { print "$.. -- $_"; }
If not then you need to consider your line endings.
JD