===http.conf===
LoadModule perl_module modules/mod_perl.so
PerlRequire "/usr/local/perlmods/startfile.pl" ===startfile.pl===
use Compress::Zlib;
The two type of code will work.But what is the proper code?
#!/usr/bin/perl
use Compress::Zlib;
.....
print Compress::Zlib::memGzip($htmlstr);
or
#!/usr/bin/perl
...
print Compress::Zlib::memGzip($htmlstr); |
- Need use modules in my code? LUKE
- Re: Need use modules in my code? Philip M. Gollucci
- Re: Need use modules in my code? Carl Johnstone