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

Re: [MacPerl] parsing text from a file



one major problem is that if it is being saved under windows or unix it
doesn't use the same newline charcaters.  i would do a globar replace of:

$your_variable_or_file =~ s/\r/\n/g;


try that and then parse the file.  should work :)  if u need anymore
help, let me know






On Mon, Apr 26, 1999,  <gene.ray@excite.com> wrote:

>Hello all,
>
>I have been racking my brains trying to figure out how to parse some test
>from a file that has been written to from a html form.  I can retrieve the
>entire line but I cant seem to get the line to sepperate from its
>delimiters.  I'm pretty new at this and I know that this is one of the more
>basic functions of Perl but I'm stumped.  Any advice would be worshiped!
>
>thanks,
>-Gene
>
>
>
>
>_______________________________________________________
>Get your free, private email at http://mail.excite.com/
>
>===== Want to unsubscribe from this list?
>===== Send mail with body "unsubscribe" to macperl-request@macperl.org
>
>


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