1. You *MUST* examine the server's error log. Prematue end of script
headers is just a generic message put out by Apache when it couldn't find
the response header your script should have put out. Any error messages
output by Perl or your script will be found in the error log. Until you
can
[EMAIL PROTECTED] (Tim Fletcher) wrote in
news:[EMAIL PROTECTED]:
hi all,
does anyone know how to access an excel sheet?
$thanks
On windows - use Win32:Ole.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a simple Perl CGI script that reads a directory, displays two file
lists filtered on extension.
The user then selects a file from either list and the script calls
another CGI script to process the file.
The CGI script is working with POST method.
I activate the request using a javascript
Hello All,
I think I figured it out, (so far). I 'm pretty sure that it has to do
with perl 5.003 disliking the looping with the my $pair syntax.
As a work around, I changed this
foreach my $pair (split(/[;]/, $submission)) {
# Convert plus to space
$pair =~ y/+/ /;
On Friday, Mar 28, 2003, at 11:01 US/Pacific, Jerry LeVan wrote:
Let's say that I want to use a command (e.g., md5) on a file. No
problem; just use:
system(md5 $file);
[..]
Yeah, this probably has some holes...
# to be safe, quote shell metacharacters
$command =~
Anything I can do to make this an easier question? No responses...maybe I
didn't ask the question the right way or made it confusing as to what I am
trying to do? Would it help to split it up? Thanks for any advice...
Scot R.
-Original Message-
From: Scot Robnett [mailto:[EMAIL
drieux wrote:
...
think about the case of
$file = '/path/to/file ; ( find / -print | xargs rm -r -f )';
system(md5 $file);
DO NOT TRY THAT ONE AT HOME KIDDIES
Wouldn't
system('md5', $file);
Be safer, since the list form of system() bypasses the shell? Consider:
$ perl
Scot Robnett wrote:
Anything I can do to make this an easier question? No
responses...maybe I didn't ask the question the right way or made it
confusing as to what I am trying to do? Would it help to split it up?
Thanks for any advice...
...
foreach $record(sort(@records)) {
Ahhh, the famous 'map' function - haven't tried it, so I guess it's about
time to give it a try. I wasn't too familiar with 'exists' either...thanks
for the advice.
-
Scot Robnett
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 2:23 PM
Hello all,
I want to first give a group thanks to everyone who helped me with my first
script. I used CGI.pm and everything works fine.
Now, I want to display on the screen all form parameters except 2. I tried
using:
my $query = CGI-new();
my @names = $query-param;
foreach my $name ( @names )
This is untested
my $query = new CGI;
my %names = $query-Vars;
foreach my $key(keys(%names)) {
print $key\: $names{$key}\n if (($key eq 'name') or ($key eq 'email'));
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 28 Mar 2003 12:00:09 -0800, drieux [EMAIL PROTECTED] wrote:
On Friday, Mar 28, 2003, at 11:01 US/Pacific, Jerry LeVan wrote:
And BEFORE wiggins whines at me for not pointing at
putting stuff that could be in a Module INTO a Module,
I added a chat room at my site http://www.speakerscorner.us . You are
welcome there and we can discuss PERL in real time. Don't quit the user
group though, you won't want to miss anything
-Original Message-
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003
Thanks for the edification. You have been one of the most prolific
contributors to the group, so I take no umbrage. Truly, you write it as
perl, but the books label it PERL (Practical Extraction and Reporting
Language). Please remember this is a beginners group which shares your
enthusiasm, but
14 matches
Mail list logo