summaryrefslogtreecommitdiff
path: root/Xerl/Setup/Parameter.pm
diff options
context:
space:
mode:
authorPaul Buetow (uranus.fritz.box) <paul@buetow.org>2014-07-27 10:32:12 +0200
committerPaul Buetow (uranus.fritz.box) <paul@buetow.org>2014-07-27 10:32:12 +0200
commit81fabce4267f8b2bbaebea9dd89c09f4df5c8477 (patch)
tree435e4606008fb33bb91348a2498d87cfc43e5be7 /Xerl/Setup/Parameter.pm
parented234522bf3251c51eec23bb9dfac4ca55f857ed (diff)
cleanup
Diffstat (limited to 'Xerl/Setup/Parameter.pm')
-rw-r--r--Xerl/Setup/Parameter.pm50
1 files changed, 0 insertions, 50 deletions
diff --git a/Xerl/Setup/Parameter.pm b/Xerl/Setup/Parameter.pm
deleted file mode 100644
index 45c860d..0000000
--- a/Xerl/Setup/Parameter.pm
+++ /dev/null
@@ -1,50 +0,0 @@
-# Xerl (c) 2005-2011, 2013 Dipl.-Inform. (FH) Paul C. Buetow
-#
-# E-Mail: xerl@dev.buetow.org WWW: http://xerl.buetow.org
-#
-# This is free software, you may use it and distribute it under the same
-# terms as Perl itself.
-
-package Xerl::Setup::Parameter;
-
-use strict;
-use warnings;
-
-use v5.14.0;
-
-use Xerl::Base;
-use Xerl::Main::Global;
-use Xerl::Setup::Configure;
-use Xerl::Tools::FileIO;
-
-sub parse($) {
- my Xerl::Setup::Parameter $self = $_[0];
- my Xerl::Setup::Configure $config = $self->get_config();
-
- print "Content-Type: text/plain\n\n"
- if $config->plain_exists();
-
- if ( $config->href_exists() ) {
- print "Location: ", $config->get_href(), "\n\n";
- $config->set_finish_request(1);
- }
- elsif ( $config->env_exists() ) {
- print "Content-Type: text/plain\n\n";
- print "$_=", $ENV{$_}, "\n" for keys %ENV;
- $config->set_finish_request(1);
- }
-
- if ( $config->devel_exists() ) {
- $config->set_nocache(1);
- }
-
- if ( $config->conf_exists() ) {
- print "Content-Type: text/plain\n\n";
- print "$_=", $config->{$_}, "\n" for keys %$config;
- $config->set_finish_request(1);
- }
-
- return $self;
-}
-
-1;