summaryrefslogtreecommitdiffstats
path: root/Aufgabe6
diff options
context:
space:
mode:
Diffstat (limited to 'Aufgabe6')
-rw-r--r--Aufgabe6/RPN/Changes6
-rw-r--r--Aufgabe6/RPN/MANIFEST6
-rw-r--r--Aufgabe6/RPN/Makefile.PL14
-rw-r--r--Aufgabe6/RPN/README40
-rw-r--r--Aufgabe6/RPN/lib/RPN.pm84
-rw-r--r--Aufgabe6/RPN/t/RPN.t18
6 files changed, 168 insertions, 0 deletions
diff --git a/Aufgabe6/RPN/Changes b/Aufgabe6/RPN/Changes
new file mode 100644
index 0000000..4e5cfcf
--- /dev/null
+++ b/Aufgabe6/RPN/Changes
@@ -0,0 +1,6 @@
+Revision history for Perl extension RPN.
+
+0.01 Thu Dec 17 17:14:28 2015
+ - original version; created by h2xs 1.23 with options
+ -XA -n RPN
+
diff --git a/Aufgabe6/RPN/MANIFEST b/Aufgabe6/RPN/MANIFEST
new file mode 100644
index 0000000..f9ca5df
--- /dev/null
+++ b/Aufgabe6/RPN/MANIFEST
@@ -0,0 +1,6 @@
+Changes
+Makefile.PL
+MANIFEST
+README
+t/RPN.t
+lib/RPN.pm
diff --git a/Aufgabe6/RPN/Makefile.PL b/Aufgabe6/RPN/Makefile.PL
new file mode 100644
index 0000000..0129785
--- /dev/null
+++ b/Aufgabe6/RPN/Makefile.PL
@@ -0,0 +1,14 @@
+use 5.022000;
+use ExtUtils::MakeMaker;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+WriteMakefile(
+ NAME => 'RPN',
+ VERSION_FROM => 'lib/RPN.pm', # finds $VERSION, requires EU::MM from perl >= 5.5
+ PREREQ_PM => {}, # e.g., Module::Name => 1.1
+ ABSTRACT_FROM => 'lib/RPN.pm', # retrieve abstract from module
+ AUTHOR => 'Stefan Suhren <suhren.stefan@fh-swf.de>',
+ #LICENSE => 'perl',
+ #Value must be from legacy list of licenses here
+ #http://search.cpan.org/perldoc?Module%3A%3ABuild%3A%3AAPI
+);
diff --git a/Aufgabe6/RPN/README b/Aufgabe6/RPN/README
new file mode 100644
index 0000000..026594d
--- /dev/null
+++ b/Aufgabe6/RPN/README
@@ -0,0 +1,40 @@
+RPN version 0.01
+================
+
+The README is used to introduce the module and provide instructions on
+how to install the module, any machine dependencies it may have (for
+example C compilers and installed libraries) and any other information
+that should be provided before the module is installed.
+
+A README file is required for CPAN modules since CPAN extracts the
+README file from a module distribution so that people browsing the
+archive can use it get an idea of the modules uses. It is usually a
+good idea to provide version information here so that people can
+decide whether fixes for the module are worth downloading.
+
+INSTALLATION
+
+To install this module type the following:
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+DEPENDENCIES
+
+This module requires these other modules and libraries:
+
+ blah blah blah
+
+COPYRIGHT AND LICENCE
+
+Put the correct copyright and licence information here.
+
+Copyright (C) 2015 by Stefan Suhren
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.22.0 or,
+at your option, any later version of Perl 5 you may have available.
+
+
diff --git a/Aufgabe6/RPN/lib/RPN.pm b/Aufgabe6/RPN/lib/RPN.pm
new file mode 100644
index 0000000..bcf1b38
--- /dev/null
+++ b/Aufgabe6/RPN/lib/RPN.pm
@@ -0,0 +1,84 @@
+package RPN;
+
+use 5.022000;
+use strict;
+use warnings;
+
+require Exporter;
+
+our @ISA = qw(Exporter);
+
+# Items to export into callers namespace by default. Note: do not export
+# names by default without a very good reason. Use EXPORT_OK instead.
+# Do not simply export all your public functions/methods/constants.
+
+# This allows declaration use RPN ':all';
+# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
+# will save memory.
+our %EXPORT_TAGS = ( 'all' => [ qw(
+
+) ] );
+
+our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
+
+our @EXPORT = qw(
+
+);
+
+our $VERSION = '0.01';
+
+
+# Preloaded methods go here.
+
+1;
+__END__
+# Below is stub documentation for your module. You'd better edit it!
+
+=head1 NAME
+
+RPN - Perl extension for blah blah blah
+
+=head1 SYNOPSIS
+
+ use RPN;
+ blah blah blah
+
+=head1 DESCRIPTION
+
+Stub documentation for RPN, created by h2xs. It looks like the
+author of the extension was negligent enough to leave the stub
+unedited.
+
+Blah blah blah.
+
+=head2 EXPORT
+
+None by default.
+
+
+
+=head1 SEE ALSO
+
+Mention other useful documentation such as the documentation of
+related modules or operating system documentation (such as man pages
+in UNIX), or any relevant external documentation such as RFCs or
+standards.
+
+If you have a mailing list set up for your module, mention it here.
+
+If you have a web site set up for your module, mention it here.
+
+=head1 AUTHOR
+
+Stefan Suhren, E<lt>suhren.stefan@fh-swf.deE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2015 by Stefan Suhren
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.22.0 or,
+at your option, any later version of Perl 5 you may have available.
+
+
+=cut
diff --git a/Aufgabe6/RPN/t/RPN.t b/Aufgabe6/RPN/t/RPN.t
new file mode 100644
index 0000000..ae60fa2
--- /dev/null
+++ b/Aufgabe6/RPN/t/RPN.t
@@ -0,0 +1,18 @@
+# Before 'make install' is performed this script should be runnable with
+# 'make test'. After 'make install' it should work as 'perl RPN.t'
+
+#########################
+
+# change 'tests => 1' to 'tests => last_test_to_print';
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+BEGIN { use_ok('RPN') };
+
+#########################
+
+# Insert your test code below, the Test::More module is use()ed here so read
+# its man page ( perldoc Test::More ) for help writing this test script.
+