RE: Fuck This..

2001-10-10 Thread todd
hey, the guy is having a hard time unsubscribing from the list. lay off. todd. On Wed, 10 Oct 2001, Kipp, James wrote: > well you are not offending me, but you do look like a jack-ass now > > > -Original Message- > > From: Inspirational Michael [mailto:[EMAIL PR

Re: What exactly does "$| = 1;" do?

2004-12-16 Thread Todd W
#x27;); sleep( 1 ); } print( "\n" ); ^D 1...2...3...4...5... 1...2...3...4...5... The first line is all printed out at once. The second line prints '1...' then waits a second then prints '2...' and so on. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: image manipulation (scaling)

2005-03-23 Thread Todd W
"Ingo Weiss" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I need have my CGI scale images on the server, and I was wondering whether there is a "standard" perl module that can do that (and possibly other image manipulation tasks). I am looking for one that: - is easy to un

Re: How to plug memory leak?

2005-07-13 Thread Todd W
{ sleep 1 } >} > END: > } > ###3 > What if the thread is sleeping when the code gets right... > > To destroy the thread from main, > $shash{'die'} = 1; ### HERE ### > $thread->join; > Didnt you say:

Re: quote problem and mysql

2005-08-04 Thread Todd W
) x 32 ); Ideally, you should have your data in an array, then: my $sql = "INSERT INTO table VALUES (${ \join(', ', map('?', @data)) })"; $dbh->do( $sql, undef, @data ); Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: changing action with appended key/value pairs in a POST

2005-08-30 Thread Todd W
den field in the html form: You may also want to check out CGI::Application, it makes quick work of what you are trying to do. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: htaccess question

2006-03-06 Thread Todd W
"Bill Stephenson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Aug 17, 2005, at 11:03 AM, zentara wrote: > > > On Mon, 15 Aug 2005 16:29:54 -0500, [EMAIL PROTECTED] (Bill > > Stephenson) > > wrote: > > > >> On Aug 12, 2005, at 2:06 AM, David Dorward wrote: > >> > >> How do I

Re: Flushing output buffer under mod_perl

2006-07-16 Thread Todd W
ugh if what you have is breaking, it probably won't work. I suggest taking this to the mod_perl mailing list, I'm sure they would want to know about it. Make sure you give them system and environment info... Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Dealing with arrays ??? / Do I need to lock a file???

2002-04-06 Thread Todd Wade
"Rafael Cotta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Question #1: How can I get the value of the key, so I can have in output > file something like "key = value" instead of only "value", as the code above > does? for my $key ( keys(%Form) ) { prin

Re: What a CGI.pm state I'm in...

2002-04-06 Thread Todd Wade
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 1) > Basically I have n + (5 or 6) texstfields to fill, initially from a file which works fine. Then the user makes changes and submits changes to the same script (don't want to use 2 scripts ideally), which iden

Re: Hiding the real location of a file?

2002-04-07 Thread Todd Wade
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message 002e01c1dd70$6800e7d0$[EMAIL PROTECTED]">news:002e01c1dd70$6800e7d0$[EMAIL PROTECTED]... > If a user will click to download, Internet Explorer ask the user if she > wants to open or save the file from the real server. > I would like to make

Re: log-in/out w/o cookies

2002-04-14 Thread Todd Wade
"Teresa Raymond" <[EMAIL PROTECTED]> wrote in message news:p05100301b8de2cf961a1@[67.36.181.234]... > What I've done is: > > 1) have login page w/ hidden input name="formname" w/ some value leads to > 2) cgi prog that cks that formname eq "some value" and the username & > password1 and password2

Re: Perl CGI with ISP - advice?

2002-04-19 Thread Todd Wade
"Zentara" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Tue, 16 Apr 2002 13:17:59 -0700 (PDT), [EMAIL PROTECTED] (John > Brooking) wrote: > > For instance, I wanted to use Crypt::RC4 on a remote server. > Using the above unshift, I upload Crypt::RC4 but it wouldn't work > un

Re: Write permissions and other rights

2002-04-21 Thread Todd Wade
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message 003d01c1e8db$f6df0f60$[EMAIL PROTECTED]">news:003d01c1e8db$f6df0f60$[EMAIL PROTECTED]... > Hi all, > > Please tell me how should I set the rights for some files and folders in my > web page: First of all, this has nothing to do with perl, b

Re: popup_menu default

2002-04-21 Thread Todd Wade
"Jack Daly" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Can some kind soul take a moment to answer a question? I want to have a > default value in popup menu, right now I have the menu defaulting to the > first value in the list. Is there any non-object

Re: popup_menu default

2002-04-22 Thread Todd Wade
"Todd Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... - Original Message - From: "Jack Daly" <[EMAIL PROTECTED]> To: "Todd Wade" <[EMAIL PROTECTED]> Sent: Sunday, April 21, 2002 11:51 PM

Re: A super huge form.

2002-04-22 Thread Todd Wade
"Connie Chan" <[EMAIL PROTECTED]> wrote in message 01c1e869$61296f00$de7566da@omega">news:01c1e869$61296f00$de7566da@omega... >Anyway, I don't want to use cgi.pm. The first time a user agent uses ``;'' instead of ``&'' to seperate the name=value pairs youll wish you did trwww -- To

Re: proxy server

2002-04-22 Thread Todd Wade
"Conan Chai" <[EMAIL PROTECTED]> wrote in message 003301c1ea03$29edb410$0164a8c0@user1">news:003301c1ea03$29edb410$0164a8c0@user1... hi, >how do i read in the request from a browser? Go get the Perl Cookbook. Theres a whole section on being a TCP server. Its a little too complicated to discuss

Re: FILE Transfer (FTP) using PERL

2002-04-22 Thread Todd Wade
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Input the Filename You Wish To Transfer > > > read: perldoc -M CGI Uploading via a web browser is via http. The file is included with the request to the server. FTP has nothing to d

Re: Write permissions and other rights

2002-04-23 Thread Todd Wade
ogram, the permissions you choose have nothing to do with the language you choose or if you are executing code in a CGI environment, so no, the topic is totally irrelevant to the issue. If I am wrong here, how 'bout letting me know in straightforward english. I am not here to play cards. Todd

Re: do not print blank fields

2002-04-29 Thread Todd Wade
bdate/; Loop over the elements in the @input array and do a truth test on the current input field name. If it returns true, print out the report info. for my $fieldName (@input) { if ( $query->param( $fieldName ) { # this one is not empty print OUT $input{$fieldName}, ': ', $query->param( $fieldName ), "\n\n"; } } If this dosent make sense, thats okay, just use the first method I showed. This was just to show you and others a more extensible, cleaner solution. Todd W [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: do not print blank fields

2002-04-29 Thread Todd Wade
"Todd Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if ( $query->param( $fieldName ) { # this one is not empty this should read: if ( $query->param( $fieldName ) ) { # this one is not empty forgot a paren To

Re: Using strict with DBI

2002-04-30 Thread Todd Wade
etchrow_hashref()){ > $ID = $ref->{'ID'};} > $dbh->disconnect; > > Mark Bergeron wrote: Rob, > use strict; shouldn't really affect the syntax of any DBI handle or statement. ... When strict is giving you problems, its because you are doing something wrong, even t

Re: Multiple emails with Sendmail

2002-05-12 Thread Todd Wade
rch.cpan.org/doc/JIMT/Mail-Bulkmail-2.05/Bulkmail.pm Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI and frames

2002-05-14 Thread Todd Wade
gram call those subs based on the value of the section parameter. Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cgi script that takes in data then runs script on different host

2002-05-28 Thread Todd Wade
ot;; Somewhere at the top of scriptOnHost1.cgi say: use CGI; my($q) = CGI->new(); and then when you are ready, say: print $q->redirect( "http://www.host2.com/scriptOnHost2.pl?name=$name"; ); and your all set. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Insertion of table causes syntax error-message

2002-05-30 Thread Todd Wade
27; , 'yes','yes', 'yes']) > #] > #) missing a comma ^ here > # ) and ^ here > >$q->end_html; It looks like to me. Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Getting content of a configuration file

2002-05-30 Thread Todd Wade
ing this, use symbollic references. %conf_data = %{$context}; and you are all set. You will have to turn off strict refs for this line of code when use strict; is in effect. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Uploading files timeout

2002-06-10 Thread Todd Wade
> I've heard that it can appear timeouts when uploading large files to a www > server with a form. > > Is it true? Yes > If yes, what can I do to avoid the timeout? This depends on the web server. Consult the documentation for your flavour. Todd W. -- To unsubscribe, e-ma

Re: user name

2002-06-13 Thread Todd Wade
to log into the machine that the form was > sent from? > you want Win32::NetAdmin Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: exit from subs // creating frames

2002-06-20 Thread Todd Wade
o(); As another tip, you shouldnt ever print() from your subs, you should return a string, and print when you are ready. The CGI programs I write rarely have more than one print statement. It makes the code easier to maintain and debug. $output = &path_info(); print $path_info; Todd W. -

Templates v/s CGI.pm [WAS:] Displaying Problems

2002-06-26 Thread Todd Wade
n when defining subs that return marked up data, but its a nightmare to maintain Just a suggestion for anyone's code I may be editing ;0) Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

CGI.pm v/s roll-your-own [WAS:] Displaying Problems

2002-06-26 Thread Todd Wade
What does this do-> print "Content-type: text/html${CRLF}${CRLF}";) Which tells us again Mr. Stein has a thorough understanding of the HTTP protocol, while you stll have a little to learn. Again, this is NOT a flame. I suggest accepting the constructive criticism professionally. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Form.pm

2002-07-02 Thread Todd Wade
[EMAIL PROTECTED] wrote: > sub parse_form_input($){ > my $input = shift; I told you already. > my @variables = split(/\&/, $input); this is wrong!!! Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Including External Pages

2002-07-02 Thread Todd Wade
uot;); print(); # print() takes a list. DWIM in action. close(FH) or die("close $file: $!"); Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl/CGI and Databases (where to begin?)

2002-07-02 Thread Todd Wade
Can you use Perl/CGI to interact with a Microsoft Access Database that's > stored on the server?? > > Thanks, > Roger "Programming the Perl DBI" At your booksore or library. Examples use MySQL, but its better than Access anyway. www.mysql.com Todd W -- To unsubscribe, e-

Re: Form.pm

2002-07-02 Thread Todd Wade
"Ovid" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Todd Wade <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > > > > sub parse_form_input($){ > > > my $input = shift; > >

Re: Form.pm

2002-07-03 Thread Todd Wade
<[EMAIL PROTECTED]> wrote in message 00d301c222b6$440166d0$d381f6cc@david">news:00d301c222b6$440166d0$d381f6cc@david... > > I appreciate your feedback. The reason I was frustrated with Todd is because it was strictly > criticism. Basically the tone was "Your

Re: Including External Pages

2002-07-03 Thread Todd Wade
the docs that show modification of $/ in action have the corresponding code wrapped in a block, i.e. { local $/ = undef(); $_ = }. Quick quiz: can anyone explain why? Todd W. > > - Original Message - > From: "Todd Wade" <[EMAIL PROTE

Re: What could go wrong with closing an FH ?

2002-07-06 Thread Todd Wade
the top of my head is if the disk fills up or you are writing to a file on a network disk and the connection goes goes down. In both circumstances your data was lost and you would want to know about it. There are many others. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Odd boxes after uploading

2002-07-08 Thread Todd Wade
'm allowed to send > this attachment) > > I tried FlashFXP and WS-FTP for uploading the file, but both gave the > same result. > > What is wrong? Make sure you use ASCII mode for text files in your ftp client. Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Odd boxes - the solution

2002-07-08 Thread Todd Wade
input. > Also, if you use the proper transfer setting (i.e. ASCII for your text files) in your FTP client, the files will be formatted properly. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Including SSI in a script

2002-07-08 Thread Todd Wade
of an either-or thing. mod_cgi does not filter your program's output for #include directives in your programs output, so at this point they are just simple html comments. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Network Programming

2002-08-11 Thread Todd Wade
11/qid=1029118782/sr=1-1/ref= sr_1_1/002-4481850-4219223 Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Online installer

2002-08-19 Thread Todd Wade
.com/cgi-bin/dsx.cgi?app=Installer Theres also a discussion list program that has an installer like this. Worked very well for me: http://www.discusware.com/discus/index.php Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl Programmers Needed.

2002-08-27 Thread Todd Wade
e comp.lang.perl.* groups accessible from most other news servers. They combine for thousands of messages a day. If thats not overwhelming, its as close as it can be without being it. job postings are this way > [EMAIL PROTECTED] Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SSI calls

2002-08-31 Thread Todd Wade
ingle quotes: print DATAFILE 'The file was recorded at '; Alternatively, you can use a quote operator: print DATAFILE qq(The file was recorded at ); Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: css attributes in CGI

2002-09-28 Thread Todd Wade
thread, any -name=>'value' pair set in a hash ref passed as the first argument to a CGI object's html generating methods will be translated into tag attributes and values. [trwww@devel_rh trwww]$ perl -MCGI -e '$q=new CGI; print( $q->div({-width=>"75%",-c

Re: Here is that problem with the LWP module

2002-10-04 Thread Todd Wade
',$cnt); > $data=$agent->request($rqs); > print $data->content."\n"; The former will fetch any web server output via the get method: [trwww@devel_rh trwww]$ perl -MLWP::Simple -e 'print get("http://localhost/~trwww/index.cgi?name=todd";);' output:

Re: Cannot validate dynamic html with W3C because of missing Character Encoding

2002-10-04 Thread Todd Wade
ng. My docs validate fine. If its not your server, put CGI.pm in one of your directories, and say: use lib qw(/place/where/i/put/); #path to CGI.pm BEFORE you say: use CGI.pm; This will load the newer version because the above path will be looked in for modules before any others in @INC are. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cannot validate dynamic html with W3C because of missing Character Encoding

2002-10-05 Thread Todd Wade
Todd Wade wrote: > Richard wrote: > >> Hello >> >> I wrote a script that creates dynamic html. I validated the resulting >> html code with W3C and it couldn't validate it because it didn't detect >> the character encoding. I added the meta inform

Re: Perl / CGI - User Authentication ...

2002-10-09 Thread Todd Wade
Depends on Apache::Session, but does NOT depend on mod_perl. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: perl cgi security

2002-10-31 Thread Todd W
t;en-US"> Untitled Document Hello Dynamic CGI Linux Hello Dynamic CGI Linux!!! I am: trwww HTH Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: GD Graphs

2002-12-13 Thread Todd W
cs and examples,... or if some one can recomend a better method of creating > and working with graphs and Perl. > I just borrowed a book from the library called: Programming Web Graphics With Perl & GNU Software / Shawn P. Wallace that was a pretty exciting read. Re-reading it this weeke

Re: Confusion on @array vs $array[] vs $array

2002-12-20 Thread Todd W
$foo{$k}%foo{$k} Array reference $foo->[$n] $foo[$n] (or $foo.[$n]) Hash reference $foo->{$k} $foo{$k} (or $foo.{$k}) Code reference $foo->(@a) $foo(@a) (or $foo.(@a)) Array slice @foo[@ns] @foo[@ns] Hash slice @foo{@ks} %foo{@ks}beautiful =0) Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl 6 (was: Re: Confusion on @array vs $array[] vs $array)

2002-12-20 Thread Todd W
"Fliptop" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [reply cc'd to list] > > On Thu, 19 Dec 2002 at 06:23, Rob Richardson opined: > > RR:What is the advantage of these changes? > RR:When is Perl 6 due out? > RR:Do those links you provided describe all the

Re: Perl 6 (was: Re: Confusion on @array vs $array[] vs $array)

2002-12-20 Thread Todd W
you may want to start here: > > http://www.perl.org/support/mailing_lists.html > Im no authority on perl 6 either, but if I wanted to dive in to in perl 6, Id start at: http://www.perl.com/pub/q/Article_Archive#Perl%206 specifically the apocalypses and the exgenesises (sp?). The

Re: IF statments

2002-12-24 Thread Todd Wade
7;one'. so your conditional would look like: if (('one' ne $secret_word_guest) or ($qs ne $secret_word)) { which makes the left operand true, so you get unwanted behavior. HTH, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

loadable object error

2002-12-24 Thread todd shifflett
I have a perl script which will work on my home computer, however, when I upload the script to the hosting site I recieve an error concerning a "loadable object" in GD.pm. I assume this is because there is some module missing on the hosting site. How do I determine what that is? Here is the

Re: CGI scripts permissions

2002-12-24 Thread Todd Wade
would be to run the Apache server with my user, but I > don't know how to do that. > How is this possible? You need a host that runs some type of setuid wrapper around the CGI program. heres something I noted for the group awhile back: http://groups.google.com/groups?threadm=3DACCC0E.70

HTTPS in LWP

2002-12-28 Thread Todd Farmer
st.cgi";); $req->header('Accept' => 'text/html'); $req->content ($pass_path); my $result = $agent->request( $req ); print $result->content; Any pointers would be greatly appreciated. Thanks! Todd -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: HTTPS in LWP

2002-12-30 Thread Todd Farmer
It sounds like that is the issue. Thanks! Todd -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 3:48 AM To: Todd Farmer Cc: [EMAIL PROTECTED] Subject: Re: HTTPS in LWP From the docs (lwpcook): "HTTPS URLs

Re: Custom 500 Error Script

2003-01-07 Thread Todd Farmer
That did the trick, thanks! Thanks to all who took time to help me out. Todd - Original Message - From: "Bob Showalter" <[EMAIL PROTECTED]> To: "'Webmaster'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 20

Re: Possibly OT, but CGI related.

2003-01-27 Thread Todd Wade
ile to. In the case of an html file, the first line is often something like or a location of a DTD or an xml processing instruction, all of which mod_alias knows nothing about, hence your errors. I replied to the group with this because the discussion also includes getting perl scripts to execute on an apache server, but please post all replies to the proper newsgroup. HTH, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: pop-up window with database access

2003-01-27 Thread Todd Wade
"Zentara" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 30 Sep 2002 11:47:37 -0500, [EMAIL PROTECTED] (Scot Robnett) > wrote: > > >Define "a lot of people." > > I just did a quick google search for javascript statistics, and most > of the surveys show

Re: php like behavior for my perl CGI

2003-02-19 Thread Todd W
r perl-cgi is the ease with which one > can mix HTML and code (Naturally, most web architects will jump at the > opportunity to tell you why this is a very bad idea but it often makes life > easier for small projects) Ive never had a project stay small for long. > > I hope this clarifies things a bit. If not..I guess I'll just need to do a > few extra keystrokes :) > > Many thanks! no prob, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: php like behavior for my perl CGI

2003-02-24 Thread Todd W
; > [EMAIL PROTECTED] wadet]$ perldoc perlref and for a real good time, check out [EMAIL PROTECTED] wadet]$ perldoc perllol > Quite ingenious. While I'm sure I'll regret it later (and curse your good > name as I'm wishing I'd taken the time to learn Mason or HTML::T

Re: How do embed javascript

2003-02-27 Thread Todd Wade
"Tom McKellips" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When I run it on the command line I get no errors. But Still the Javascript > fails to execute in the browser if it is generated from PERL. If I put the > very same javascript in it's own html page and call it with a br

Re: CGI.pm strange results

2003-03-03 Thread Todd Wade
your quanity fields so you know which value of the array to fetch while looping through the selected items. Not really a perl problem, check out the CGI specifications and perldoc -m CGI Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: checking if its a real number

2003-03-03 Thread Todd Wade
hat you want to macth. So, your regex > is as simple as this. > > /\d{5}/ # match exactly five digits > This is true if there is a 5 digit number somewhere in the string, so you will get true even if length( $_ ) > 5. Use: /^\d{5}$/ to get true if the string is a 5 digit number. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI.pm strange results

2003-03-04 Thread Todd W
"Zentara" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 3 Mar 2003 16:07:26 -0500, [EMAIL PROTECTED] (Todd Wade) wrote: > > > > >"Zentara" <[EMAIL PROTECTED]> wrote in message > >> > >> You might want to t

Re: persistent connection

2003-03-18 Thread Todd Wade
22/mechanize.html I haven't used it yet, but it looks pretty slick. It enables a program to surf the web while "low-level" operations like manipulating the LWP object are abstracted away. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: shared cookies

2003-03-18 Thread Todd Wade
alking sub Microsoft has this thing called hta (hypertext applications, or something like that) where you digitally sign your .asp file and give it a .hta extension. Client side code can then work out of the sandbox (i.e. read cookies from other domains). MS specific. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Trying to block out BGCOLOR

2003-03-25 Thread Todd W
#x27;Skip::BGCOLOR' => \*STDOUT ); $pipeline->parse_string( join('', ) ); print("\n"); __DATA__ No BGCOLORs No BGCOLORs No BGCOLORs Much cleaner and it guarantees to not fudge up your markup. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to run script Perl automatically???

2003-03-26 Thread Todd W
ache.org/docs/1.0/guide/performance.html#Forking_and_Executing _Subprocesses_from_mod_perl Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OT: Streaming HTML

2003-06-06 Thread Todd Wade
ad of a document viewer. To complicate matters further, Microsoft's DOM support is different than Netscape's. One needs to have a firm grasp of XML API's to understand how to implement this, but it definitely works in the latest netscape and IE browsers very, VERY well. It also

Re: help with print MAIL

2003-06-05 Thread Todd Wade
and your conditional is not perl code, but you should use a hash instead of the conditional above: my(%messages) = ( this => "this is it", that => "that isn't it", then => "I don't know" ); print MAIL $messages{ $variable }; Use your $variable

Re: Memory shortage

2003-06-05 Thread Todd Wade
)) > { ># read into MySQL >} > > Is there a way to step through a large file and process only what I read > in? I'm so stymied I wanna puke. > Sure... use the readline function or notation: while ( ) { # $_ holds your record

Re: MVC for cgi perl?

2003-06-19 Thread Todd W
ts then call methods or access properties of parallel objects living in the HTTP web service process. software like openwave's UP.Browser dosent have a SOAP api, do I had to make the dispatcher. Unfortunately, thats only a portion of how the whole thing works. But if you understand how XML::SA

Re: Problem with script headers.

2003-06-21 Thread Todd W.
enough permissions for the account running the process to do so. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: select multiple

2003-07-11 Thread Todd W.
o'); my @params = $apr->param; this is all documented at perl.apache.org and search.cpan.org. See: http://search.cpan.org/author/JOESUF/libapreq-1.2/Request/Request.pm Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: PHP vs Perl

2003-07-24 Thread Todd W.
my ) concept of postmodernism. PHP has been a great advocate for the web and is truly maturing very quickly. I doubt if the Apache Foundation would have incubated it if it weren't. My latest PHP interpreter even compiled with built in GD support, and really, its pretty neat. And with web services (

Re: PHP vs Perl

2003-07-27 Thread Todd W.
have read many of your posts and you have helped alot of people on this list and we are grateful. Even if you do change your base technology, we all hope that you stay subscribed to the list and continue to contribute. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: return(bless $rant, $class) || Fwd: PHP vs Perl

2003-07-27 Thread Todd W.
"Drieux" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Todd either Paused for more MountainDew or had a Moment: > [..] > > Those last two paragraphs were total rant, and I probably > > have no idea what I'm talking abo

Re: return(bless $rant, $class) || Fwd: PHP vs Perl

2003-07-27 Thread Todd W.
cience, one being called "hashing." As always, perl.com fills in the gory details: http://www.perl.com/pub/a/2002/10/01/hashes.html Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: return(bless $rant, $class) || Fwd: PHP vs Perl

2003-07-28 Thread Todd W.
at, "I WOULDN'T like to call it the canonical perl MVC pattern..." > > > MVC pattern. Most familiar with it probably would though. > > ASP.NET has MVC with its "code behind" concept. > > > > Im not aware of any other MVC based platforms right off. Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AS/400 and Comsoft systems

2003-07-30 Thread Todd W.
for the Comsoft and AS/400 applications if you must access them with perl. The way you do this is by creating perl wrappers to the C api that comes with your data stores. see: "perldoc perlxstut" I would create a custom object that stores each object as a property. This will make managing

Re: AS400 and Comsoft

2003-08-01 Thread Todd W.
p to me, I would be investing heavily in Vaseline corporation > because I know exactly where this new ticket system is going to end up The mind reels. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: debugger

2003-08-03 Thread Todd W.
ave a question about a module, please read the module's documentation before posting here: http://search.cpan.org/author/LDS/CGI.pm-2.99/CGI/Carp.pm You are looking for the sections labeled: "MAKING PERL ERRORS APPEAR IN THE BROWSER WINDOW " and "MAKING WARNINGS APPEAR AS HTML

Re: Mail::Send question

2003-08-03 Thread Todd W.
ct sendmail's intricacies from the user, providing a simple API to send mail. Therefore, modules are the preferred way to send mail from a perl program. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cookies with CGI and IE7

2003-08-04 Thread Todd W.
orer home page and it has a big 'ol 6 right in the top middle of the page. http://www.microsoft.com/windows/ie/default.asp Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: passing an argument to a subroutine

2003-09-05 Thread Todd W.
($x); # or showValue (\$x); > > > sub showValue { > > my $forwarded = @_; > $forwarded gets the number of elements in @_ > > print $forwarded; # print ${$forwarded}; > > } > > In both cases, the script prints out 1. > What is going on here? >

Re: File Permissions

2003-09-07 Thread Todd W.
browser. Again, your problem is not related to perl, so you could get more ( better ) information in the proper forum. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: File Permissions

2003-09-07 Thread Todd W.
gt; > You have 3 options: > > > > 1. Sign the applet with a signature issued by a CA. > > > > 2. Become your own CA, sign the applet, and register your CA with the > > client > > browser. > > > > 3. lower or disable the security settings in the clie

Re: form submission DoS

2003-09-10 Thread Todd W.
gt; stop someone from scripting 2,000+ form submissions? (If at all) > If its your ( Apache ) server, or you have a friendly sysadmin, you can use Apache::SpeedLimit. It blocks calls from a client if they start getting greedy with your services. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Still Not sure if I agree with myself.

2003-09-12 Thread Todd W.
I::Application is an excellent example and easy to follow because its simple. There are others, too. I like to write my own application server components because it is fun to see one evolve from an empty text file to set of directories worthy of CVS: http://waveright.homeip.net/~trwww/api.

Re: Still Not sure if I agree with myself.

2003-09-14 Thread Todd W.
"Drieux" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Friday, Sep 12, 2003, at 18:54 US/Pacific, Todd W. wrote: > [..] > > I dont think you can call that a closure yet. You would have to be > > defining > > subroutines tha

Re: Still Not sure if I agree with myself.

2003-09-15 Thread Todd Wade
"Drieux" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Sunday, Sep 14, 2003, at 14:00 US/Pacific, Todd W. wrote: > [..] > > > > Beacuse of @ISA being lexically declared, it can't inherit from other > > modules. And remember,

online favorites project

2003-09-22 Thread Todd W.
ols/phpBB2/index.php?c=5 Thanks eveyone, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help wanted regading approch for displaying live scores

2003-09-23 Thread Todd W.
ml document using DHTML. I just did a web project that uses an RPC client in the browser: http://waveright.homeip.net/products/FavoritesAnywhere.html Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >