Thread speed-up trotz module: ... (17 answers)
Opened by esskar at 2003-11-10 01:35

pq
 2003-11-10 16:05
#48393 #48393
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
[quote=kabel,10.11.2003, 14:06]require will ein .pm hintendran, use macht das automatisch.[/quote]
nicht immer. require CGI; läuft bei mir fehlerfrei.
require "CGI"; jedoch nicht, genausowenig
$x="CGI";require $x;.
erklärung in perldoc -f require:
Quote
              If EXPR is a bareword, the require assumes a ".pm"
              extension and replaces "::" with "/" in the
              filename for you, to make it easy to load standard
              modules.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread speed-up trotz module: ...