Practical mod_perl / HTML Book /



previous page: 22.3. Runtime
  
page up: HTML Version of the book
  
next page: 22.3.2. Segfaults When Using XML::Parser

22.3.1. foo ... at /dev/null line 0


Under mod_perl, you may receive a warning or an error in the error_log file that specifies /dev/null as the source file and line 0 as the line number where the printing of the message was triggered. This is quite normal if the code is executed from within a handler, because there is no actual file associated with the handler. Therefore, $0 is set to /dev/null, and that's what you see.

 

Continue to:

  • prev: 22.3. Runtime
  • Table of Contents
  • next: 22.3.2. Segfaults When Using XML::Parser







TOP
previous page: 22.3. Runtime
  
page up: HTML Version of the book
  
next page: 22.3.2. Segfaults When Using XML::Parser


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com