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: 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: 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: CGI.pm strange results

2003-03-04 Thread Todd W
string ) = "you ordered $q->param('quantity') foobars\n"; The quoting mechanism knows nothing about evaluating expressions. That's what concatenation is for: my( $string ) = "you ordered " . $q->param('quantity') . " foobars\n"; 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: 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.
perl does not require MVC as > a design pattern, but one can learn the hard way to support it > We have AxKit, but I wouldnt like to call it the canonical perl 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: 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

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]

Re: HTML headers with CGI.pm

2003-09-24 Thread Todd W.
'copyright'=>'copyright 1996 King Tut'}, -style=>{'src'=>'/styles/style1.css'}, -BGCOLOR=>'blue'); After running this your next question will be how to create a http-equiv meta tag. Again, read the docs. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: REMOTE_USER

2003-11-20 Thread Todd W.
o things like record click trails and have online shopping carts. Note this is not how _I_ would do it, but it is a perfectly viable method. Todd W. > > > Bob Showalter <[EMAIL PROTECTED]> > 12/11/2003 11:52 PM > > > To: Colin Johnstone/Australia/Contr/[EM

Re: Storing Form Data without submitting it.

2003-11-26 Thread Todd W.
ll for what you mentioned, but if you implement something like this then you can do things like build batch article updating and so fourth in a snap. If you know ahead of time that you will want to interface with the same data in two different ways ( for example, from both a command line program and a CGI program ), then RPC or SOAP is the way to go. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]