From: Lee Hosty (hostyle at domain imail.oscail.com)
Date: Fri 11 Feb 2000 - 16:45:22 GMT
just a quickie on Perl ...
I've just read a file into an array ... how do I change the default newline
delimiter when I want to use foreach $line ( at domain array) ??
I've tried changing $: and $^L but neither seemed to have any effect ...
plus the default for $: is " \n-" which seems a bit confusing to me ... why
teh space and - sign ??
also ... anyone have any idea what the newline / nextline delimiter is for
a MAC ... I've been esarching all day for one ...
\n --> *NIX
\r\n --> Win32
?? --> Mac
Lee Hosty Web Administrator hostyle at domain oscail.com
oscail.com 28 Mary Street, Limerick
T: 061 430699 F: 061 430699 W: http://www.oscail.com
mobile 353 (0)86 8768780
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:24 GMT