RE: Config file

2003-12-02 Thread Darbesio Eugenio
>>-Original Message- >>From: Rod [mailto:[EMAIL PROTECTED] >>Sent: martedì 2 dicembre 2003 16.55 >>To: beginners >>Subject: Config file >> >> >>What is the best way to read a config file for a perl script. I have >>some very ugly code that can do it, but I would like to find something >

RE: create log as well as print on screen

2003-08-21 Thread Darbesio Eugenio
Mark wrote: >>>-Original Message- >>>From: mark sony [mailto:[EMAIL PROTECTED] >>>Sent: mercoledì 20 agosto 2003 15.11 >>>To: [EMAIL PROTECTED] >>>Cc: [EMAIL PROTECTED] >>>Subject: create log as well as print on screen >>>Hi All, >>>I wrote a script which is running perfectly fine

RE: writing back to a file

2003-08-20 Thread Darbesio Eugenio
AN wrote: >>>Hi, >>>Newbie here. I am writing a program that takes a file that has two columns >>>of words, extracts the second column, then saves the original file with only >>>the data in the first column. >>>Question #1 - would it be better to do this w/ the split or s/// functions ? >>>Ques

RE: regular expresion question.

2003-08-14 Thread Darbesio Eugenio
Try $a = "30 23 * * * /usr/lbin/sa/sa1 600 6"; $a =~ m|[^\/]+(.*\/[^\/\s]+)\s[^\/]+|i; $path = $1; print $path ; E. LOQUENDO S.p.A. Vocal Technology and Services www.loquendo.it [EMAIL PROTECTED] -Original Message- From: Jas Grewal (DHL

get http through a proxy authentication

2003-08-14 Thread Darbesio Eugenio
Hi In this code I do http request through the env proxy: my $user_agent = new LWP::UserAgent; $user_agent->agent("Mozilla/4.0"); $user_agent->timeout($timeOut); $user_agent->env_proxy(); $page = ($user_agent->request(HTTP::Request->new(GET=>$url)))->as_string; but my proxy requ

RE: get http through a proxy authentication

2003-08-08 Thread Darbesio Eugenio
Jose`, your suggestion works fine. Problem solved. Thanks a lot. E. -Original Message- From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED] Sent: giovedì 7 agosto 2003 17.20 To: Darbesio Eugenio; [EMAIL PROTECTED] Subject: RE: get http through a proxy authentication Try use LWP

RE: help perl ftp

2003-06-27 Thread Darbesio Eugenio
-Original Message- ... >>>thoughi searched http://search.cpan.org/, i couldnot get the >>>p[lace from where i can download NEt::FTP. I on;y got is a >>>theorotical explanation of Net::FTP ... Try http://search.cpan.org/, then search for Net::FTP, choice the second one in the list, clic

RE: perl help ftp

2003-06-27 Thread Darbesio Eugenio
-Original Message- vemulakonda uday bhaskar wrote: ... >>>can anyone tell me from where i can download Net::FTP from >>> www.cpan.org ... Browse to http://search.cpan.org/ then search for Net::FTP. E. CONFIDENTIALIT

RE: File size problem

2003-06-26 Thread Darbesio Eugenio
-Original Message- Vasudev.K. wrote: . >>>Q1. After unzipping, the file is huge (even the zipped one is :(( ).. >>>almost 5GB. The system throws an error"File too large" and exits. >>>How do I get around this ache? One way I want to do it is unzipped file >>>into many parts

RE: linefeed

2003-06-26 Thread Darbesio Eugenio
-Original Message- Charles Scheepers wrote: >>>I an actually running the program on an UNIX platform, but it still uses CRLF in >>>the output. I have actually tried: "print FILHNDL >>>"Text...\012";" and the output >>>is still translated to CRLF. Will utilities like dos2unix make a dif

RE: linefeed

2003-06-26 Thread Darbesio Eugenio
-Original Message- Charles Scheepers wrote: >>>Hi All >>>I am having a problem with linefeed. I have written a program that writes records >>>to an output file. The program that uses this >>>file as input requires that all >>>records are ended with "\x0A" and not CRLF (\x0D\x0A). This