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

[MacPerl] line termination VS. perl libraries



I would like to create a few cross-platform libraries that will provide a
set of subroutines to be used by both Macintosh and Windows computers. The
code itself is cross-platform; it will work on both kinds of machines.
However, before a script can load one of the libraries (using "use"), I
have to make sure that has the right line termination.

I would really, really, like to to have a single copy of each library on a
central server that would be accessed by both the Macs and Windows
machines, but I'm forced to keep two copies of each library that differ
only in that one has the Mac CR line termination and the other has DOS CRLF
line termination.

Is there any way around this problem?

- Tom Sackett
  Adobe Systems Incorporated
  tsackett@adobe.com

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