Re: anti-SSSCA petition

2001-10-03 Thread Peter Cline
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]

Re: e-mailing HTML form results (probably repeat question)

2001-07-25 Thread Peter Cline
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]

Sending cgi parameters from email

2001-07-06 Thread Peter Cline
any experience with this kind of thing? Is it evne possible to do? Thanks Peter Cline Inet Developer New York Times Digital

List vs. arrays, (was Re: extra

2001-06-21 Thread Peter Cline
consist with the argument thus far. Peter Cline Inet Developer New York Times Digital

Re: Extra ?

2001-06-21 Thread Peter Cline
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

Re: Extra ?

2001-06-21 Thread Peter Cline
;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

Re: Perplexing header problem

2001-06-13 Thread Peter Cline
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

Re: Perplexing header problem

2001-06-13 Thread Peter Cline
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]

Perplexing header problem

2001-06-12 Thread Peter Cline
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

Re: Erratic server errors apparently caused by missing header.

2001-06-07 Thread Peter Cline
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

Erratic server errors apparently caused by missing header.

2001-06-07 Thread Peter Cline
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