gt;Senate)[S.388.IS]
>50 . Comprehensive Energy Research and Technology Act of 2001 (Reported in
>the House)[H.R.2460.RH]
>
>
>???
>-Sx-
>
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
Peter Cline
Inet Developer
New York Times Digital
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
enced this problem before.
You should read perldoc perldiag and perldoc perlsec
for advice on how to deal with this.
Basically the taint flag requires that certain elements of the %ENV hash be
either empty or pre-defined before being used.
Peter Cline
Inet Developer
New York Times Digital
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
any experience with this
kind of thing? Is it evne possible to do?
Thanks
Peter Cline
Inet Developer
New York Times Digital
consist with the argument thus far.
Peter Cline
Inet Developer
New York Times Digital
beaten him over the head enough times to just use:
>
>my $value = q(xyz);
>
>which works just fine.
I am using perl 5.005.01 :-( and when doing
print my $x = q(a b c d) it prints the whole list
how does that work?!
Peter Cline
Inet Developer
New York Times Digital
;in scalar context and
>returns the value of the final element. Since, in the third example, the
>array is the third
>element, it's evaluated in scalar context, as expected.
>
>So why do the third and fourth examples have different outputs? Because
>lists are not arrays and
>do not behave as such.
Interestingly, saying
print my $number_of_elems = qw(a b c d);
outputs 4 and not d.
does qw turn the list into an array?
Peter Cline
Inet Developer
New York Times Digital
it may be :
>
>my @param_list = qw ( request_id request_priority request_title .. );
>my %hash = (); # the hash we gonna fill up and send to the
>function
>@hash{ @param_list } = @{ $q->Vars }{ @param_list }
>BugTrack->update_request ( %hash );
>
>That
ot sending any data besides the header. Try adding the
>following to the end of your script:
> else { print "No actions to take" }
>
>It's always a good idea to check yourself with this kind of catchall code.
>
>William
>--
> [EMAIL PROTECTED]
uot;),
'bugtrack_status' => $q->param("bugtrack_status"),
'request_details' => $q->param("request_details"),
'bug_domain' => $q->param("bug_domain"),
'bugtrack_completion_date' => $q->param("bugtrack_completion_date"),
'category' => $q->param("category"),
'cause' => $q->param("cause"),
'solution' => $q->param("solution"),
'notes' => $q->param("notes"),
'track' => $q->param("track"),
);
}
Thanks
Peter Cline
Inet Developer
New York Times Digital
ce it
seems to have solved my problem.
Thanks!
At 10:37 AM 6/7/01 -0700, Curtis Poe wrote:
>This is an excellent reason to use CGI.pm: it's tough to mess up the headers:
>
>#!/usr/bin/perl -wT
>use strict;
>use CGI qw/:standard/;
>
>print header;
Peter Cline
Inet Developer
New York Times Digital
olaris 5.6 sun server running Netscape's web
server version 3.6
Sorry to be so vague. I would appreciate any suggestions anyone might have.
Thank You
Peter Cline
Inet Developer
New York Times Digital
11 matches
Mail list logo