Re: Perl for Linux

2004-03-03 Thread Owen
On Wed, 3 Mar 2004 17:03:54 +0200 Ash Singh <[EMAIL PROTECTED]> wrote: > Hi, I am trying to move away from windows to linux mandrake 9 and I am not > sure how to set up perl on linux, how would I go about setting up the RPM > version of perl available at activestate.com or could you please point

Re: Execute an external script

2004-03-03 Thread p . libardi
I managed to solve the problem. Thanks a lot to everyone, starting from part of any of your help I've been able to find the solution. My .m files where just associated to Octave, the problem was due to taint constraint I do always use for Perl scripts. I had to add $ENV{'PATH'}='C:/Program Files/

RE: Perl for Linux

2004-03-03 Thread Sethi, Pradeep
Its already included in mandrake 9 distribution. just to go control center and install perl from there. -Original Message- From: Ash Singh [mailto:[EMAIL PROTECTED] Sent: Wed 3/3/2004 7:03 AM To: '[EMAIL PROTECTED]' Cc: Subject:Perl for Linux Hi, I am trying to mo

problems parsing web form information into a perl script

2004-03-03 Thread Mark Martin
Hi, I've got a web form that allows a user to browse to an excel file on their computer and input it and the year as parameters to run a perl script FORM : SCRIPT: use CGI; use Spreadsheet::ParseExcel; $q=new CGI; my $oExcel = new Spreadsheet::ParseExcel; my $user_ssheet=$q->param('file');

Perl for Linux

2004-03-03 Thread Ash Singh
Hi, I am trying to move away from windows to linux mandrake 9 and I am not sure how to set up perl on linux, how would I go about setting up the RPM version of perl available at activestate.com or could you please point me to the right place where I can get this information.   Thanking yo

Re: Problem installing a module

2004-03-03 Thread WC -Sx- Jones
Octavian Rasnita wrote: Hello all, Does anyone know how can I configure the installation for a perl module if I want to install it using CPAN library? I want to install the perl module DBD::mysql and if I try: perl -MCPAN -e "install DBD::mysql;" It fails installing the module and it tells me th

Problem installing a module

2004-03-03 Thread Octavian Rasnita
Hello all, Does anyone know how can I configure the installation for a perl module if I want to install it using CPAN library? I want to install the perl module DBD::mysql and if I try: perl -MCPAN -e "install DBD::mysql;" It fails installing the module and it tells me that it can't find mysql

Re: Execute an external script

2004-03-03 Thread Charlie somerville
Well, it returns null because when you try to escape in that string, that's perls escape that your using, not XP's excape. A way around this might be (i dunno, never tried this before): system("cd C:/Program Files/GNU/Octave/2.1.50/"); $result= `bin -q my_script.m`; If that doesn't work then setu

RE: Execute an external script

2004-03-03 Thread p . libardi
>> I tried $result = `C:/Program\ Files/GNU\ Octave\ 2.1.50/bin -q >> my_script.m`; but $result is still null. sorry, in copy and paste I forgot a part of the instruction. The instruction I'm using is: my $output = `"C:/Program\ Files/GNU\ Octave\ 2.1.50/bin/octave.exe -q my_script.m"`; The erro