in reply to line endings in remote documents
Yeah, MS platforms add a carriage return and a newline to the end of every line. You could try chomp()'ing all of the contents of @new. I'm not sure if chomp will get rid of the carriage returns or not.
On a design note, it appears that your algorithm assumes that once a resource has been provided, it never goes away. By that, I mean that since you are always appending, you can't remove a resource by removing it from your website. That may not be an issue for you, but I thought I'd point it out.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: line endings in remote documents
by belg4mit (Prior) on Dec 20, 2001 at 20:54 UTC | |
by Juerd (Abbot) on Dec 20, 2001 at 21:17 UTC | |
by belg4mit (Prior) on Dec 20, 2001 at 21:19 UTC | |
by Juerd (Abbot) on Dec 20, 2001 at 21:50 UTC | |
by tye (Sage) on Dec 20, 2001 at 23:36 UTC | |
by Juerd (Abbot) on Dec 20, 2001 at 23:45 UTC | |
by tye (Sage) on Dec 21, 2001 at 00:03 UTC | |
by belg4mit (Prior) on Dec 21, 2001 at 03:21 UTC | |
by premchai21 (Curate) on Dec 20, 2001 at 21:17 UTC |