Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b17716f8da33a3d666e1b14fe7b067ea > files > 18

perl-CGI-XMLApplication-1.1.3-6mdv2010.0.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;