Modules aiming at displaying mathematical functions on screen?

2006-09-20 Thread SFantar
Hello After searching the cpan.org site for mathematical modules, I did not find a module which can display graphically the result of a function. I want to see a function curve displayed in a graphical window? How can I make it possible in Perl? Thanks in advance for your help. -- To unsubscr

Re: How to create XML files from simple plain text files?

2006-09-16 Thread SFantar
W. [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 2:13 PM To: Beginners List Subject: Re: How to create XML files from simple plain text files? On 09/15/2006 07:12 AM, sfantar wrote: Hello All! I would like to know how possible it is to create XML files from plain text

Re: How to create XML files from simple plain text files?

2006-09-15 Thread SFantar
Tom Phoenix a écrit : On 9/15/06, sfantar <[EMAIL PROTECTED]> wrote: I would like to know how possible it is to create XML files from plain text files. I have a huge number of text files I want to convert into XML format. Is there any Perl modules for this purpose? Have you checke

How to create XML files from simple plain text files?

2006-09-15 Thread sfantar
Hello All! I would like to know how possible it is to create XML files from plain text files. I have a huge number of text files I want to convert into XML format. Is there any Perl modules for this purpose? Thanks in advance for your help. Accédez au courrier électronique de La Poste sur www.l

Programming WAP pages

2006-08-20 Thread SFantar
Hello everybody Is there any Perl module for WAP programming generating web pages readable on mobile phones? I had a look at http://cpan.perl.org but the results found did not help me very much. Thanks in advance for your help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: How to sort an array which contains a value several times ?

2006-08-15 Thread SFantar
Jay Savage a e'crit : On 8/15/06, SFantar <[EMAIL PROTECTED]> wrote: Xavier Noria a e'crit : > In the example I sent before, we used a similar trick but using grep, > because we want to iterate over @array and filter duplicates out (you > need to know grep to un

Re: How to sort an array which contains a value several times ?

2006-08-15 Thread SFantar
Xavier Noria a e'crit : On Aug 15, 2006, at 5:49 PM, SFantar wrote: On the contrary, the code written above is not clear yet. What does your code do exactly when it comes to deal with smith, edward which appear twice in @array initially? What's what you don't understand, d

Re: How to sort an array which contains a value several times ?

2006-08-15 Thread SFantar
Xavier Noria a e'crit : On Aug 15, 2006, at 2:28 PM, SFantar wrote: Thank for your quick reply. Your solution should suit me. Can you give me more details/ explanations about your code? What does your code do exactly? Sure, we are using a hash table as a way to deal with duplicates,

Re: How to sort an array which contains a value several times ?

2006-08-15 Thread SFantar
Xavier Noria a écrit : On Aug 15, 2006, at 2:02 PM, SFantar wrote: Hello everyone I would like to sort an array so that it does not contain any values twice or three times. Unfortunately, perldoc -q sort does not help me very much. Here is an example of this array : @array = ('

How to sort an array which contains a value several times ?

2006-08-15 Thread SFantar
Hello everyone I would like to sort an array so that it does not contain any values twice or three times. Unfortunately, perldoc -q sort does not help me very much. Here is an example of this array : @array = ('smith ', 'john ', 'edward ', 'smith ', 'edward ', 'john '); I would like to have

Improving script listing Perl modules installed

2006-08-14 Thread SFantar
Hello everyone I want to list all the Perl modules installed on my system. The script below does it well. Unfortunately, it displays the name of each installed Perl module twice. How can I get rid of them? Lastly, if you have any suggestion about improving this script, it would be very nice.

Re: misunderstanding with the function split

2006-07-17 Thread sfantar
John W. Krahn a écrit : sfantar wrote: Hello everyone Hello, I would like to be able to print the songs'titles according to the author. The format of the songs are as follow : Freda Payne - In motion.mp3 Sylvester - Was it something that i said.mp3 George Benson & A. Franklin -

misunderstanding with the function split

2006-07-17 Thread sfantar
Hello everyone I would like to be able to print the songs'titles according to the author. The format of the songs are as follow : Freda Payne - In motion.mp3 Sylvester - Was it something that i said.mp3 George Benson & A. Franklin - Love All The Hurt Away.mp3 #!/usr/local/bin/perl -w use s

Re: What is the reason for different outputs for a cgi script run from a browser and run from the command line?

2006-06-20 Thread sfantar
sfantar a écrit : Charles K. Clarkson a écrit : sfantar wrote: : In the apache's error log, here is what's written : : : : [error] HTML::Template->new() : Cannot open included file test.tmpl : : file not found. Looks like the template cannot be found. Use the full path to

Problems with HTML::Template

2006-06-20 Thread sfantar
Hi there, I am starting using HTML::Template modules and I wrote a script with the first example within the doc. I am not able to see the results of my CGI from my browser. It displayed error 500 Internal Server Error. I gave the correct rights to my script to make it executable. In the @INC,

Re: Problems with CGI and mod_perl

2006-06-11 Thread sfantar
J. Alejandro Ceballos Z. -JOAL- a écrit : I am running ubuntu on my pc and I installed the package mod_perl ... Did you installed directly (perl Makefile.PL and so on...) or used the cpan command (mihost# sudo cpan ) ? I found out my solution at last. It was a misunderstood. Thank you

Re: How to match a directory path?

2006-06-08 Thread sfantar
sfantar a écrit : Hello everybody As the path to a directory under Linux is like /file/file/file where file can be a word containing either - or _ . Which regexp can match this in the best way? I tried (/\w[-]?\w/)+ but it doesn't work well. Thanks in advance. Could this be a sol

How to match a directory path?

2006-06-08 Thread sfantar
Hello everybody As the path to a directory under Linux is like /file/file/file where file can be a word containing either - or _ . Which regexp can match this in the best way? I tried (/\w[-]?\w/)+ but it doesn't work well. Thanks in advance. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Two perl installation

2006-06-08 Thread sfantar
Vijay Kumar Adhikari a écrit : FC3 On 6/8/06, sfantar <[EMAIL PROTECTED]> wrote: Vijay Kumar Adhikari a écrit : > Thanks, but I am not using mod_perl. > > The problem is twofold. It works well when accessed from CGI. It > doesn't complain anything at all. When

Re: Two perl installation

2006-06-08 Thread sfantar
CGI is running and 2) How do I fix that error with DBD::Mysql On 6/8/06, sfantar <[EMAIL PROTECTED]> wrote: Vijay Kumar Adhikari a écrit : > Hello, I was running an earlier version of perl and upgraded to the > latest one. Now when I run perl from command line, I get an error like >

Re: Two perl installation

2006-06-08 Thread sfantar
Vijay Kumar Adhikari a écrit : Hello, I was running an earlier version of perl and upgraded to the latest one. Now when I run perl from command line, I get an error like this [Thu Jun 8 18:57:18 2006] Importer_mysql.pl: install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.

Re: further infos about inherited classes

2006-06-06 Thread sfantar
Mr. Shawn H. Corey a écrit : On Tue, 2006-06-06 at 20:51 +0200, sfantar wrote: Hello I would like to know if we have to install one class before the inherited classes. For instance, Do I have to install CGI before CGI::Pretty to make this work or Can I install it alone? I hope my question

further infos about inherited classes

2006-06-06 Thread sfantar
Hello I would like to know if we have to install one class before the inherited classes. For instance, Do I have to install CGI before CGI::Pretty to make this work or Can I install it alone? I hope my question is clear. Thanks in advance for your help. -- To unsubscribe, e-mail: [EMAIL PRO

Re: problems with CGI and mod_perl

2006-06-06 Thread sfantar
sfantar a écrit : Hello everyone I have started since today learning how to write cgi in Perl with this doc : http://users.easystreet.com/ovid/cgi_course/lessons/lesson_one.html I am running ubuntu on my pc and I installed the package mod_perl made by ubuntu a few days ago and I was able

problems with CGI and mod_perl

2006-06-06 Thread sfantar
Hello everyone I have started since today learning how to write cgi in Perl with this doc : http://users.easystreet.com/ovid/cgi_course/lessons/lesson_one.html I am running ubuntu on my pc and I installed the package mod_perl made by ubuntu a few days ago and I was able to run Perl scripts f

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
templating system; - Use mod_perl and the module Mason; - Use a framework for creating web sites like Catalyst or Maypole; - Use a content management system like Krang or others; ... Teddy - Original Message - From: "sfantar" <[EMAIL PROTECTED]> To: Sent: Friday, May 26, 2006

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Chad Perrin a écrit : On Fri, May 26, 2006 at 02:17:11PM +0200, sfantar wrote: What are the differences between Perl and PHP? The differences are far too many to list here. However, I'll list a few: Perl tends to run slightly faster. Your site's visitors probably won't

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Charles K. Clarkson a écrit : sfantar wrote: : What are the differences between Perl and PHP? You can Google for that. I found the following article. I think perl can be used for more applications than PHP. http://www.zend.com/zend/art/langdiff.php : Which one is the best to build up a

What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Hi everyone What are the differences between Perl and PHP? Which one is the best to build up a website? There are more and more PHP-based websites. Except the fact that ISP provide most of the time PHP/MySQL web hosting, why do people prefer using PHP instead of Perl? I would like to create o

Are there any Perl-based CMS?

2006-05-26 Thread sfantar
Hi everyone I am looking for a well-featured Perl-based CMS. I have already had a look at some at sourceforge but nothing fulfill my requirements. I want a CMS which could display news according to some parameters like date of release, kind of subject and so on. Thanks in advance for your hel

How to get the argument of the ?

2006-04-18 Thread sfantar
I am at the moment trying to write on a script which gets the url between " in the . Unfortunately, I am not able to get them with my regexp. My regexp just only matches the lines containing the urls. After reading the docs about regexp, I can't get the urls themselves. Thanks for you help. -