ImageMagick to GD::Graph

2006-02-09 Thread I BioKid
Hi all, I have an Image::Magick code to generate a sample graph simple The program will read a file which contain a list of x-y values and plot it. I am posting this code for those who need to map dynamic code on a static graph, I would appreciate if any of you can convert it for me in to GD::Grap

whereis the socket mailing list

2006-02-09 Thread Jeff Pang
hello,list, I can't find a mailing list about socket programming,neither perl socket or C/C++ socket. Can anyone know one and recommend it to me?Thanks really. Jeff. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

help required regarding Win32::OLE

2006-02-09 Thread a b
Hello all perl gurus, i'm sticking out with the issue of changing configuration of IIS server running on remote machine. i want to know the possibility of doing that using Win32::OLE module. so, far i am unable to do that. Can any body send me some tutorials / docs regarding IIS server configur

Reading a Unicode text file

2006-02-09 Thread Baskaran Sankaran
Hi, I am trying to read a Unicode text file and the code fragment is as below: $infile = "sample_hindi.txt"; $outfile = "out.txt"; open(F, "<:utf8", $infile); while() { chomp; binmode ( STDOUT, ":utf8" ); print "$_"; } close(F); The output correctly displays

Re: Reading a Unicode text file

2006-02-09 Thread JupiterHost.Net
I am trying to read a Unicode text file and the code fragment is as below: use strict; use warnings; and check that your open's worked and use better naming: open my $lang_sample_fh, '<:utfd', $lang_sample or die "Could not open $lang_sample: $!"; Doing that will likley show you any prob

Re: ImageMagick to GD::Graph

2006-02-09 Thread JupiterHost.Net
I BioKid wrote: Hi all, Hello, I have an Image::Magick code to generate a sample graph simple point plot> The program will read a file which contain a list of x-y values and plot it. I am posting this code for those who need to map dynamic code on a static graph, Please rewrite it wit

Re: whereis the socket mailing list

2006-02-09 Thread David Gama Rodrí­guez
Jeff Pang wrote: hello,list, I can't find a mailing list about socket programming,neither perl socket or C/C++ socket. Can anyone know one and recommend it to me?Thanks really. Jeff. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com It's better that u ask a particular question

Re: Reading a Unicode text file

2006-02-09 Thread JupiterHost.Net
Baskaran Sankaran wrote: Thanks for that but still I do face problem. I did that and it raises a warning: utf8 "\xFF" does not map to Unicode at second.pl line 8, <$lang_sample_fh> line 1. Excellent, so now we have soem info to start with :) I have 10 sentences each in different line

Re: whereis the socket mailing list

2006-02-09 Thread Jeff Pang
ok,I'll give my question and hope get some answers from here,:-) I have a pair of Client-Server Socket programs.When the client have finished writing the datas,it should call the 'close()' or 'shutdown()' to close the client's socket.And,when the server receive the EOF coming from client,it sho

Re: whereis the socket mailing list

2006-02-09 Thread Jay Savage
"Because it's up-side down". "Why is that?" "It makes replies harder to read." "Why not?" "Please don't top-post." - Sherm Pendley, Mac OS X Perl list On 2/9/06, Jeff Pang <[EMAIL PROTECTED]> wrote: > ok,I'll give my question and hope get some answers from here,:-) > > I have a pair of Client-Se

Re: whereis the socket mailing list

2006-02-09 Thread Bob Showalter
Jeff Pang wrote: The question I want to know is,when the 'close()' call happened,if it should generate a 'FIN' and send it to another end?If it's true,then at the server end,when it receive the 'EOF' coming from client,it can delay for some time to call 'close()',so the 'FIN' should not be sent to

connect to oracle server

2006-02-09 Thread jm
i've asked oracle's forums and gotten nothing useful, so hopefully someone here can help... i have scripts that connect to mysql; they need to connect to an oracle server. i've tried installing DBD::Oracle from cpan, and get an error message about "The ORACLE_HOME environment variable value (/us

Re: connect to oracle server

2006-02-09 Thread Bob Showalter
jm wrote: i've asked oracle's forums and gotten nothing useful, so hopefully someone here can help... i have scripts that connect to mysql; they need to connect to an oracle server. i've tried installing DBD::Oracle from cpan, and get an error message about "The ORACLE_HOME environment variabl

A very basic question

2006-02-09 Thread Avinash Sridhar
Hello All, I just joined this forum today and I dont know whether this particular question has been posted before. If it is please do let me know where i can get the answer from. I am using a Windows XP Professional box. Want to learn perl, how do i go about downloading the perl interpreter

Re: connect to oracle server

2006-02-09 Thread jm
On 2/9/06, Bob Showalter <[EMAIL PROTECTED]> wrote: > jm wrote: > > i've asked oracle's forums and gotten nothing useful, so hopefully > > someone here can help... > > > > i have scripts that connect to mysql; they need to connect to an > > oracle server. i've tried installing DBD::Oracle from cpa

Re: connect to oracle server

2006-02-09 Thread jm
On 2/9/06, jm <[EMAIL PROTECTED]> wrote: > On 2/9/06, Bob Showalter <[EMAIL PROTECTED]> wrote: > > jm wrote: > > > i've asked oracle's forums and gotten nothing useful, so hopefully > > > someone here can help... > > > > > > i have scripts that connect to mysql; they need to connect to an > > > ora

Re: connect to oracle server

2006-02-09 Thread Bob Showalter
jm wrote: On 2/9/06, Bob Showalter <[EMAIL PROTECTED]> wrote: I think you have enough software. If you can run SQL*Plus, you should be OK. Try using just "/usr/lib/oracle/10.2.0.1" or "/usr/lib/oracle/10.2.0.1/client" as your ORACLE_HOME. Also, be sure to look at the README's with the DBD::Oracl

Re: A very basic question

2006-02-09 Thread Xavier Noria
On Feb 9, 2006, at 19:40, Avinash Sridhar wrote: Hello All, I just joined this forum today and I dont know whether this particular question has been posted before. If it is please do let me know where i can get the answer from. I am using a Windows XP Professional box. Want to learn

working with expect in perl

2006-02-09 Thread Leif Ericksen
I am trying to assign the output of an expect command to a variable in my program but I am not having much luck at the moment... @cfg_dump = print $command "dump\n" does not seem to want to work. While in another program I had something like @data_gathered = `snmp $V1 $V2 $V4` This would produce

Continuing the Basic Question

2006-02-09 Thread Avinash Sridhar
Hello, I installed ActivePerl, then wrote up a sample helloworld.pl script, stored it on the desktop, then ran this command from the cmd prompt. C:\Documents and Settings\Administrator> perl C:\Documents and Settings\Administrator\Desktop\ helloworld.pl i.e., perl \ filename.pl (is this right?)

RE: Continuing the Basic Question

2006-02-09 Thread John Bruin
> -Original Message- > From: Avinash Sridhar [mailto:[EMAIL PROTECTED] > Sent: 10 February 2006 11:18 > To: beginners@perl.org > Subject: Continuing the Basic Question > > Hello, > I installed ActivePerl, then wrote up a sample > helloworld.pl script, stored it on the desktop, then ra

RE: Continuing the Basic Question

2006-02-09 Thread Leif Ericksen
On Fri, 2006-02-10 at 11:30 +1300, John Bruin wrote: > > -Original Message- > > From: Avinash Sridhar [mailto:[EMAIL PROTECTED] > > Sent: 10 February 2006 11:18 > > To: beginners@perl.org > > Subject: Continuing the Basic Question > > > > Hello, > > I installed ActivePerl, then wrote up

Re: Continuing the Basic Question

2006-02-09 Thread Marilyn Sander
On Feb 9, 2006, at 2:18 PM, Avinash Sridhar wrote: Hello, I installed ActivePerl, then wrote up a sample helloworld.pl script, stored it on the desktop, then ran this command from the cmd prompt. C:\Documents and Settings\Administrator> perl C:\Documents and Settings\Administrator\Desktop\ h

RE: Continuing the Basic Question

2006-02-09 Thread John Bruin
> -Original Message- > From: Leif Ericksen [mailto:[EMAIL PROTECTED] > Sent: 10 February 2006 11:47 > To: John Bruin > Cc: 'Avinash Sridhar'; beginners@perl.org > Subject: RE: Continuing the Basic Question > > On Fri, 2006-02-10 at 11:30 +1300, John Bruin wrote: > > > -Original Messa

Re: Continuing the Basic Question

2006-02-09 Thread Avinash Sridhar
Thanks for the useful tip, I did manage to run the simple hello world program thanks again On 2/9/06, John Bruin <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Leif Ericksen [mailto:[EMAIL PROTECTED] > > Sent: 10 February 2006 11:47 > > To: John Bruin > > Cc: 'Avinash Sri

Re: Continuing the Basic Question

2006-02-09 Thread Avinash Sridhar
the space did the trick :( On 2/9/06, Avinash Sridhar <[EMAIL PROTECTED]> wrote: > > Thanks for the useful tip, I did manage to run the simple hello world > program > > thanks again > > On 2/9/06, John Bruin < [EMAIL PROTECTED]> wrote: > > > > > > > -Original Message- > > > From: Leif Eric

RE: help required regarding Win32::OLE

2006-02-09 Thread Toby Stuart
> -Original Message- > From: a b [mailto:[EMAIL PROTECTED] > Sent: Thursday, 9 February 2006 11:47 PM > To: libwin32@perl.org; beginners@perl.org > Subject: help required regarding Win32::OLE > > > Hello all perl gurus, > > i'm sticking out with the issue of changing configuration of

RE: A very basic question

2006-02-09 Thread Toby Stuart
> -Original Message- > From: Avinash Sridhar [mailto:[EMAIL PROTECTED] > Sent: Friday, 10 February 2006 5:41 AM > To: beginners@perl.org > Subject: A very basic question > > > Hello All, > >I just joined this forum today and I dont know whether > this particular > question has been

Strange problem with getpwnam

2006-02-09 Thread Lonnie Cumberland
Greetings All, I am new to this site and also to perl in many ways but do have a lot of programming in C/C++ and a few other languages. I am working on a small program that will inteface a CGI application that I have with samba which we have set up but there seems to be a problem in the getp

Strange problem with getpwnam

2006-02-09 Thread Lonnie Cumberland
Greetings All, I am new to this site and also to perl in many ways but do have a lot of programming in C/C++ and a few other languages. I am working on a small program that will inteface a CGI application that I have with samba which we have set up but there seems to be a problem in the getpwnam

Re: whereis the socket mailing list

2006-02-09 Thread Jeff Pang
Thanks for Bob and Jay.I just want to know,when 'close' is called,what should happen under the tcp protocol stack. The question I really want to know is,when the server see the EOF coming from the client,while the server-code doesn't call the 'close',should it send the second FIN to the client o