Apache2::ASP::Server

Apache2::ASP::Server is an utility object for Apache2::ASP programming.
Download

Apache2::ASP::Server Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • John Drago
  • Publisher web site:
  • http://search.cpan.org/~johnd/Apache2-ASP-1.23/lib/Apache2/ASP/Manual/HttpdConf.pod

Apache2::ASP::Server Tags


Apache2::ASP::Server Description

Apache2::ASP::Server is an utility object for Apache2::ASP programming. Apache2::ASP::Server is an utility object for Apache2::ASP programming.The global $Server object is used in ASP programming for utility tasks such as string sanitation, finding files, sending email and registering subroutines to be performed asynchronously.URLEncode( $str )Returns a URL-Encoded version of the string provided.For example, "test@test.com" becomes "test@test.com" with URLEncode().HTMLEncode( $str )Returns an HTML-Encoded version of the string provided.For example, "< b>Hello< /b>" becomes "Hello" with HTMLEncode().HTMLDecode( $str )Returns an HTML-Decoded version of the string provided.For example, "Hello" becomes "Hello" with HTMLDecode().MapPath( $path )Given a relative path MapPath() returns the absolute path to the file on disk.For example, '/index.asp' might return '/usr/local/dstack/www/index.asp'.Mail( %args )A wrapper around the sendmail() function from Mail::Sendmail.RegisterCleanup( $sub )A wrapper around the function cleanup_register( $sub ) function provided by mod_perl2.Pass in a subref that should be executed after the current request has completed.For example: < % $Server->RegisterCleanup(sub { do_something_later() }); # Do more stuff here: $Response->Write("Hello!"); % > Requirements: · Perl


Apache2::ASP::Server Related Software