clear HTML POST data.

2010-04-23 Thread Ming Qian
Dear Perl Pros: I have a simple perl cgi web page. It contains a simple form. Submitting it(with some POST Data) will redirect itself, insert the data into a database but with a "thank you" message in place of the html form. This is all working fine. However, when refresh the browser, I get the fo

Re: return {}->{'name'};

2009-11-14 Thread Ming Qian
Thanks Uri and Parag. After reading your comments and taking a coffee, I understand it. :) Thanks, Bruce. On Sun, Nov 15, 2009 at 12:18 AM, Uri Guttman wrote: > > "PK" == Parag Kalra writes: > > first off, as a newbie here, please learn to bottom post. reading is > done top down so put

return {}->{'name'};

2009-11-14 Thread Ming Qian
Hello, I encounter some code as follows, and can not understand. Would someone help me? use constant 'cache_result' => {}; sub abc { ... return cache_result->{$self->name}; } What does this mean? Best, Bruce

The inheritance.

2009-11-04 Thread Ming Qian
Deal All, I am confused about the following code. Package AAA::CCC; use AAA::BBB '-isasubclass'; push @AAA::CCC::ISA, 'DDD::EEE'; What's the difference between these two lines? AAA::CCC is a subclass of AAA::BBB ? AAA::CCC is a subclass of DDD::EEE ? Best, Bruce

RE: the google keywords for debug...

2009-11-03 Thread Ming Qian
will not produce an endless loop, since "__WARN__" hooks are not called from inside one. cu, gabi -----Original Message- From: childpsych.colum...@gmail.com [mailto:childpsych.colum...@gmail.com] On Behalf Of Ming Qian Sent: Monday, Novembe

Re: the google keywords for debug...

2009-11-02 Thread Ming Qian
Thank you Shawn again. Bruce. On Mon, Nov 2, 2009 at 3:48 PM, Ming Qian wrote: > Thanks a lot. > > Oh Well! > I understand the problem. > After I added the pint or warn message, I didn't restart Apache. > If I restart the Apache, it will print all the message to the

Re: the google keywords for debug...

2009-11-02 Thread Ming Qian
On Mon, Nov 2, 2009 at 11:30 AM, Shawn H Corey wrote: > Ming Qian wrote: > > Sorry. This is the complete email. > > > > Dear All, > > > > I am a beginner. > > Recently, I receive a project in perl. > > In some *.pm files, > > > > u

Re: the google keywords for debug...

2009-11-02 Thread Ming Qian
message in log. The project is database website. perl + mason + html. Via the httpd.conf, I know the log location. So I think there maybe a switch or a debug level ? Thank you all. Bruce On Mon, Nov 2, 2009 at 10:51 AM, Ming Qian wrote: > Dear All, > > I am a beginner. >

the google keywords for debug...

2009-11-02 Thread Ming Qian
Dear All, I am a beginner. Recently, I receive a project in perl. In some *.pm files, use Carp; . sub A warn "a warn message";