Octavian has asked for the wisdom of the Perl Monks concerning the following question:
now, for normal text files, works like a charm....but we now have people that are trying to send us xml stuff (of which I dont know hardly anything about), and for some reason, several characters are being replaced with other chars, causing it to not work correctly...an example is:@stuffin = <STDIN>; open(tofile,">/tmp/filename"); foreach $line(@stuffin) { print tofile "$line"; } close tofile;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: email parsing problem?
by holo (Monk) on Dec 10, 2003 at 20:12 UTC | |
by Octavian (Monk) on Dec 10, 2003 at 20:35 UTC | |
by shockme (Chaplain) on Dec 11, 2003 at 00:32 UTC | |
|
Re: email parsing problem?
by hanenkamp (Pilgrim) on Dec 10, 2003 at 19:54 UTC | |
by Octavian (Monk) on Dec 10, 2003 at 20:31 UTC |