RES: Converting windows txt file format to Linux txt file format

2002-02-22 Thread Lilian Alvarenga Caravela Godoy
:07 Para: Lilian Alvarenga Caravela Godoy Cc: [EMAIL PROTECTED] Assunto: Re: Converting windows txt file format to Linux txt file format You don't need perl for this. The easiest approach is to use the dos2unix utility. Use man dos2unix for more information. - Johnathan Lilian Alvarenga

Regular Expression

2002-02-21 Thread Lilian Alvarenga Caravela Godoy
Hi everyone I am trying to learn Perl looking into some scripts. One of them has a regular expression inside. First of all, I need to know what two specific lines are doing. The code is bellow. $req =~ s/\r//g ; $req =~ s/([^\n]{72,72})\n([^\n]{1,71})\n([^\n]{1,71})$/$1\n$2$3/ I know they

RES: Regular Expression

2002-02-21 Thread Lilian Alvarenga Caravela Godoy
John Thank you very much for the explanation and for the links. Lilian. -Mensagem original- De: John Edwards [mailto:[EMAIL PROTECTED]] Enviada em: quinta-feira, 21 de fevereiro de 2002 11:11 Para: 'Lilian Alvarenga Caravela Godoy'; '[EMAIL PROTECTED]' Assunto: RE: Regular Expression

Converting windows txt file format to Linux txt file format

2002-02-21 Thread Lilian Alvarenga Caravela Godoy
Hi everyone I am trying to upload a windows txt file to a Linux server. There are an application running in my Linux server that reads the txt file to extract some information. But the application doesn't recognize the file because it's originally from windows. I know that I could solve it

Regular Expressions

2002-02-20 Thread Lilian Alvarenga Caravela Godoy
Hi everyone I am trying to learn Perl looking into some scripts. One of them has a regular expression inside. First of all, I need to know what two specific lines are doing. The code is bellow. $req =~ s/\r//g ; $req =~ s/([^\n]{72,72})\n([^\n]{1,71})\n([^\n]{1,71})$/$1\n$2$3/ I know they

DataBase Connection and stuff

2001-11-21 Thread Lilian Alvarenga Caravela Godoy
Please, I really, really need some help. I need to know how to connect to a Database (SQL Server, running under Windows 2000) throught a Perl CGI(running under Linux). I want to select some registries and update another ones. Is there anybody that knows if thats possible? Thanks in advance.

Redirection

2001-11-21 Thread Lilian Alvarenga Caravela Godoy
Another question: how can I redirect a Perl script to another page? For example: I submit a for to a page called receive.pl. In receive.pl I process the given information the way I want and then I send the user to a place like http://www.internic.com Does anyone knows how can I do that?