Hi! I've written a perl cgi script to create a web page. Now what I'd like
to do is to execute an Octave script from the Perl one and get its output
inside my perl script. I'm working on a Windows XP machine.
I tried $result = `C:/Program\ Files/GNU\ Octave\ 2.1.50/bin -q my_script.m`;
but $result
[EMAIL PROTECTED] wrote:
> Hi! I've written a perl cgi script to create a web page. Now what I'd
> like to do is to execute an Octave script from the Perl one and get
> its output inside my perl script. I'm working on a Windows XP machine.
> I tried $result = `C:/Program\ Files/GNU\ Octave\ 2.1.50/
zsdc wrote:
Camilo Gonzalez wrote:
zsdc wrote:
Tracy Hurley wrote:
Camilo,
I don't think you need to put $email in quotes to do the check, but
it works if you do. Try this:
if $email =~/@.*@/g || $email =~ /\n/s;
It still might not be secure depanding on how $email is being used
later. I
If I get the error
...cwdmail.cgi: Undefined subroutine &main::sendmail called at
...cwdmail.cgi line 29.
And I have SendMail installed with a line
@EXPORT = qw(&sendmail);
Are the following true?
1) In I have no objects so the whole file defaults to
object
because this is the line
Camilo Gonzalez wrote:
zsdc wrote:
Camilo Gonzalez wrote:
zsdc wrote:
Tracy Hurley wrote:
Camilo,
I don't think you need to put $email in quotes to do the check, but
it works if you do. Try this:
if $email =~/@.*@/g || $email =~ /\n/s;
It still might not be secure depanding on how $email i
[EMAIL PROTECTED] wrote:
Hi! I've written a perl cgi script to create a web page. Now what I'd like
to do is to execute an Octave script from the Perl one and get its output
inside my perl script. I'm working on a Windows XP machine.
I tried $result = `C:/Program\ Files/GNU\ Octave\ 2.1.50/bin -q