[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] unix CRs



ok, i have another question if you guys would be so kind to help me
out...  When i have MacPerl get a text document from the web for instance
and save it, it is in unix format with unix CRs (\r) which the mac
doesn't use.  how do i convert the document to mac format (\n).  i tried:

while(<FILE>) {
	$_ = s/\r/\n/g;
	}


but it doesn't work.  please help.




===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org