RE: graphics in perl

2008-06-22 Thread michael watson (IAH-C)
I'd recommend interfacing with R (http://www.r-project.org)



From: Malka Cymbalista [mailto:[EMAIL PROTECTED]
Sent: Sun 22/06/2008 10:27 AM
To: [EMAIL PROTECTED]; beginners@perl.org; [EMAIL PROTECTED]
Subject: graphics in perl



We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 with 
mod_perl 2.0.3.  Our data is in a MySQL database (MySQL 5.0.45)

We have been asked to write a web application that requires plotting 
capabilities.  We do most of our web programming in perl so I am looking for a 
perl module that has the following features:
1. ability to create histograms
2. ability to create x,y plots
3. ability to zoom in on a portion of the graph
4. ability to calculate the distance between 2  points on the graph
5. ability to hover on a point and bring up some text

Does anyone have any suggestions for which perl modules we should look into?

Thanks for any information.


--

Malka Cymbalista
Webmaster, Weizmann Institute of Science
[EMAIL PROTECTED]
08-934-3036





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




CGI scripts, security and MySQL

2004-09-03 Thread michael watson (IAH-C)
Hi

I need to know what is the accepted way of handling the following.  I
have a MySQL database, and a host of CGI scripts which present forms to
the users as web pages, they fill them in and then the data is written
to the database.  I need to make this secure such that only users I want
can use the system.  I want to set up a username and password so that
users can log in once at the beginning of a session, carry out their
work filling in various forms and writing to the database, and then
log-out at the end.

What is the best way to do this?  I've thought about creating a MySQL
user/password for each person who needs to enter data, but I don't want
them to have to enter their username and password on every form.  I
guess what I need is some sort of persistant DBI connection that is
present over multiple runs of various CGI scripts (until the person logs
off or the browser is closed...)

I am running Suse Linux 8.2, MySQL 4, Apache 1.3.28 and perl 5.8.0

Cheers
Mick

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response