When are blogs deleted from the list of the blogs I've read?
Apache::FakeRequest::import Conflict
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > Apache::FakeRequest:­:import Conflict 23 January 2008 22:03:58

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Apache::FakeRequest:­:import Conflict

David E. Wheeler 23 January 2008 22:03:58
 Under Perl 5.10, Apache::FakeRequest­ offers up this helpful warning:

trigger% perl -lwe 'use Apache::FakeRequest­'
Name "Apache::FakeReques­t" used only once: possible typo at /usr/local/
lib/perl5/site_perl­/5.10.0/darwin-2leve­l/Apache/FakeRequest­.pm line 51.

It seems that import() is getting called and it is defined as an
instance method. This patch fixes the issue:

--- lib/Apache/FakeRequ­est.pm 2007-11-11 21:35:46.000000000 -0800
+++ lib/Apache/FakeRequ­est.pm 2008-01-23 10:59:17.000000000 -0800
1:03:32.000000000 -0800
@@ -23,7 +23,7 @@
filename get_basic_auth_pw get_remote_host
get_remote_logname handler hard_timeout
header_in header_only header_out
- headers_in headers_out hostname import
+ headers_in headers_out hostname
internal_redirect_h­andler is_initial_req is_main
kill_timeout log_error log_reason
lookup_file lookup_uri main
@@ -68,6 +68,7 @@
parse_args(wantarra­y, $r->{args});
}

+sub import { shift->elem('import­', @_) if ref $_[0] }

{
my @code;

Best,

David
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > Apache::FakeRequest:­:import Conflict 23 January 2008 22:03:58

see also:
error while quering from MSSQL server…
combining text with $_POST
Process File to file values, then mail…
пройди тесты:
see also:
Hello PPL!!!!!!!!!!!!!!!!!!!!!!!!!
hello
Тест: Do you really know yourself?i...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .