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

Re: [MacPerl] unix CRs



>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.

What Paul and Chris said. And since the ~ is missing from above wouldn't it
be expected to fail anyway? Another reason to leave out the redundant $_

-Chris

Dept of Molecular and Cell Biology      "Information wants to be free."
UC Berkeley  * Kane Lab 614 Barker Hall



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