a server programing problem

2006-11-22 Thread ali kim
Hi All, I'm trying to create a network game where the server part is a cgi script and the client is a flash embedded into an html page. Data exchange is performed via sockets. Now I'm using the following scheme: a user starts the game by running start.cgi in his browser. Firstly, this program

Re: Any Module for peak detection

2006-11-22 Thread Dr.Ruud
Yuanxin schreef: I have a txt file containing a large number of X, Y values used to build a figure. I just wonder whether some perl module can use these values to calculate the onset of the peak and the area under the peak. Excel is not working on this very well. Thanks a lot! How about

Re: UNIX - HOWTO COPY directory with symbolic links

2006-11-22 Thread Dr.Ruud
JupiterHost.Net schreef: zentara: benbart: Can someone please suggest how I can retain the symbolic links as it is? File::NCopy File::Copy::Recursive IO::All -- Affijn, Ruud Gewoon is een tijger. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

What is 'new' doing?

2006-11-22 Thread Mathew Snyder
In this line of code what is 'new' doing? my $users = new RT::Users(RT::SystemUser); Mathew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: How to make a perl program to an exe file

2006-11-22 Thread Adriano Rodrigues
On 11/22/06, Dharshana Eswaran [EMAIL PROTECTED] wrote: Hi Rajeev, I tried using Perlcc, but the following error occurs. perlcc is a no go. It is not maintained anymore. In bleedperl (the development version of Perl) it was retired. I think PAR may be the answer you're looking for. The pp

Re: What is 'new' doing?

2006-11-22 Thread Adriano Rodrigues
On 11/22/06, Mathew Snyder [EMAIL PROTECTED] wrote: In this line of code what is 'new' doing? my $users = new RT::Users(RT::SystemUser); Mathew, This is called the indirect object notation. It is invoking the method 'new' of the package 'RT::Users', with arguments ( RT::SystemUser ). It is

Re: What is 'new' doing?

2006-11-22 Thread Mathew Snyder
Thanks! Mathew Adriano Rodrigues wrote: On 11/22/06, Mathew Snyder [EMAIL PROTECTED] wrote: In this line of code what is 'new' doing? my $users = new RT::Users(RT::SystemUser); Mathew, This is called the indirect object notation. It is invoking the method 'new' of the package

Re: type casting

2006-11-22 Thread John W. Krahn
perl pra wrote: hi gurus, Hello, I have problem in type casting, here is the problem.. That is not your problem. I get two values after greping and spliting a file( the values are some thing like this 367 and 522\n) Your problem is the quotes () are not numbers so perl is complaining.

RE: How to make a perl program to an exe file (U)

2006-11-22 Thread Meidling, Keith CTR OSD-CIO
Classification: UNCLASSIFIED I use the Perl Development Kit from ActiveState. It works great at compiling my scripts. http://www.activestate.com/Products/Perl_Dev_Kit/?tn=1 -Original Message- From: Tom Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:40 AM To:

Re: What is 'new' doing?

2006-11-22 Thread Chad Perrin
On Wed, Nov 22, 2006 at 03:44:22AM -0500, Mathew Snyder wrote: In this line of code what is 'new' doing? my $users = new RT::Users(RT::SystemUser); Um . . . instantiating an object? -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] The measure on a man's real character is what he would

Re: Free PERL Editor

2006-11-22 Thread Jeff Pang
Hi all, Could you please suggest me any good PERL editor which is available in open source tools. I have tried 'EngineSite Perl Editor -LITE' and 'PerlExpress' which I am not comfortable with. Kindly refer me some good bug free tools. I rather like Vim, though I suspect

Re: What is 'new' doing?

2006-11-22 Thread Mumia W.
On 11/22/2006 02:44 AM, Mathew Snyder wrote: In this line of code what is 'new' doing? my $users = new RT::Users(RT::SystemUser); Mathew It's equivalent to saying this: my $users j= RT::Users-new(RT::SystemUser); Read the perlmod document: perldoc perlmod -- To unsubscribe, e-mail:

Re: Killing a process that takes too long

2006-11-22 Thread D. Bolliger
Jen Spinney am Dienstag, 21. November 2006 22:06: On 11/21/06, Jen Spinney [EMAIL PROTECTED] wrote: On 11/21/06, Tom Phoenix [EMAIL PROTECTED] wrote: On 11/21/06, Jen Spinney [EMAIL PROTECTED] wrote: I want to make a system call, and then kill the process if it takes too long.

RE: What is 'new' doing?

2006-11-22 Thread Thomas Bätzler
Mathew Snyder [EMAIL PROTECTED] asked: In this line of code what is 'new' doing? my $users = new RT::Users(RT::SystemUser); It's trying to look like a Perl built-in when in fact it's just a method of the RT::Users class.The above code is equivalent to writing my $users =

Re: type casting

2006-11-22 Thread perl pra
Thanks John it worked Rohit On 11/22/06, John W. Krahn [EMAIL PROTECTED] wrote: perl pra wrote: hi gurus, Hello, I have problem in type casting, here is the problem.. That is not your problem. I get two values after greping and spliting a file( the values are some thing like

Re: Free PERL Editor

2006-11-22 Thread Jenda Krynicky
From: Suja Emmanuel [EMAIL PROTECTED] Hi all, Could you please suggest me any good PERL editor which is available in open source tools. I have tried 'EngineSite Perl Editor -LITE' and 'PerlExpress' which I am not comfortable with. Kindly refer me some good bug free tools. I'm

create arrays for GD::Graph::lines

2006-11-22 Thread Beginner
Hi, I am trying to create a line graph with GD::Graph::Lines. I have data being passed by CGI in the format: ancode_1 = ADV ADV_2006 = 117216 ADV_2005 = 104776 ancode_2 = BAP BAP_2006 = 0 BAP_2005 = 270 ancode_3 = BOO BOO_2006 = 746854

Re: How to make a perl program to an exe file

2006-11-22 Thread Shiping Wang
At 07:35 AM 11/21/2006, Dharshana Eswaran wrote: Hi all, I have a perl program in a folder along with 2 more files associated to the main program. I need to know how to create a exe file out of this? You may take a look PAR http://search.cpan.org/~smueller/PAR-0.960/lib/PAR.pm to convert

Re: Killing a process that takes too long

2006-11-22 Thread Jen Spinney
On 11/22/06, D. Bolliger [EMAIL PROTECTED] wrote: Jen Spinney am Dienstag, 21. November 2006 22:06: On 11/21/06, Jen Spinney [EMAIL PROTECTED] wrote: On 11/21/06, Tom Phoenix [EMAIL PROTECTED] wrote: On 11/21/06, Jen Spinney [EMAIL PROTECTED] wrote: I want to make a system call, and

Re: create arrays for GD::Graph::lines

2006-11-22 Thread Beginner
On 22 Nov 2006 at 15:14, Beginner wrote: ancode_1 = ADV ADV_2006 = 117216 ADV_2005 = 104776 ancode_2 = BAP BAP_2006 = 0 BAP_2005 = 270 ancode_3 = BOO BOO_2006 = 746854 BOO_2005 = 673151 ancode_4 = BUS BUS_2006 = 0 BUS_2005 =

RE: Free PERL Editor

2006-11-22 Thread Ron Goral
-Original Message- From: Suja Emmanuel [mailto:[EMAIL PROTECTED] Sent: Wednesday, 22 November, 2006 00:45 To: beginners@perl.org Subject: Free PERL Editor Hi all, Could you please suggest me any good PERL editor which is available in open source tools. I have

Re: Free PERL Editor

2006-11-22 Thread Octavian Rasnita
From: Jenda Krynicky [EMAIL PROTECTED] I'm quite fond of SciTE : http://www.scintilla.org/SciTE.html Not specifically a Perl editor, but it does suit my needs pretty well. Jenda Hi Jenda, I also like SciTe, but unfortunately it doesn't have all the necessary features. Do you know an

Re: create arrays for GD::Graph::lines

2006-11-22 Thread Rob Dixon
Beginner wrote: Hi, I am trying to create a line graph with GD::Graph::Lines. I have data being passed by CGI in the format: ancode_1 = ADV ADV_2006 = 117216 ADV_2005 = 104776 ancode_2 = BAP BAP_2006 = 0 BAP_2005 = 270 ancode_3 = BOO BOO_2006 = 746854 BOO_2005 = 673151

Re: Free PERL Editor

2006-11-22 Thread Jenda Krynicky
From: Octavian Rasnita [EMAIL PROTECTED] From: Jenda Krynicky [EMAIL PROTECTED] I'm quite fond of SciTE : http://www.scintilla.org/SciTE.html Not specifically a Perl editor, but it does suit my needs pretty well. Jenda Hi Jenda, I also like SciTe, but

Re: create arrays for GD::Graph::lines

2006-11-22 Thread Rob Dixon
Beginner wrote: On 22 Nov 2006 at 15:14, Beginner wrote: [snip] The number of years can vary so you might get data from 2006-1990. The data looks like it is suited to a hash but GD::lines wants the data passed to in as arrays references ([EMAIL PROTECTED]). That is one array with all the

Re: create arrays for GD::Graph::lines

2006-11-22 Thread Beginner
On 22 Nov 2006 at 17:35, Rob Dixon wrote: Beginner wrote: On 22 Nov 2006 at 15:14, Beginner wrote: [snip] The number of years can vary so you might get data from 2006-1990. The data looks like it is suited to a hash but GD::lines wants the data passed to in as arrays references

Re: create arrays for GD::Graph::lines

2006-11-22 Thread Dr.Ruud
Beginner schreef: On 22 Nov 2006 at 15:14, Beginner wrote: The data looks like it is suited to a hash but GD::lines wants the data passed to in as arrays references ([EMAIL PROTECTED]). That is one array with all the ancode_n and foreach code, an array of all the yearly values. I have

Re: Free PERL Editor

2006-11-22 Thread OROSZI Balázs
Suja Emmanuel wrote: Hi all, Could you please suggest me any good PERL editor which is available in open source tools. I have tried 'EngineSite Perl Editor -LITE' and 'PerlExpress' which I am not comfortable with. Kindly refer me some good bug free tools. So far, I used JEdit for

Re: Free PERL Editor

2006-11-22 Thread Octavian Rasnita
Not exactly free (shareware for $29 USD), I use Textpad for all my scripting and HTML work. http://www.textpad.com/products/textpad/index.html HTH - Ron Goral Do you have any idea if there are plans of making TextPad UTF-8 aware? Thanks. Teddy -- To unsubscribe, e-mail: [EMAIL

Re: Free PERL Editor

2006-11-22 Thread Jenda Krynicky
From: Octavian Rasnita [EMAIL PROTECTED] To: Jenda Krynicky [EMAIL PROTECTED] Subject:Re: Free PERL Editor Date sent: Wed, 22 Nov 2006 22:23:23 -0800 Hi, Adding this to SciTe (as you probably know) is trivial:

RE: Free PERL Editor

2006-11-22 Thread Lou Pereira
Try this one it's free for personal use: http://www.ntelligent-design-studios.com/ -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 7:03 PM To: Octavian Rasnita Cc: beginners@perl.org Subject: Re: Free PERL Editor From:

RE: Free PERL Editor

2006-11-22 Thread Ron Goral
-Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 November, 2006 00:25 To: Ron Goral; Suja Emmanuel; beginners@perl.org Subject: Re: Free PERL Editor Not exactly free (shareware for $29 USD), I use Textpad for all my scripting and HTML work.