Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 5dc176e705ef7c0d4bac80184969ef7f > files > 18

perl-CGI-XMLApplication-1.1.3-9.mga4.noarch.rpm

package minimalapp;

# This application is one of the most simple CGI::XMLApplications one
# can write. It simply defines a stylesheet and passes the variable
# "version" to the stylesheetprocessor. 
#
# Since this application makes no use of any events, there are none 
# registred. Even the default event is ommited because it does nothing.

use CGI::XMLApplication;

@minimalapp::ISA = qw( CGI::XMLApplication );

sub getStylesheet {
    return "minimal.xsl"; 
}

sub getXSLParameter {
    return ( version => $CGI::XMLApplication::VERSION );
}

1;