summaryrefslogtreecommitdiff
path: root/Examples/perl5/multimap/runme.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/perl5/multimap/runme.pl')
-rw-r--r--Examples/perl5/multimap/runme.pl28
1 files changed, 28 insertions, 0 deletions
diff --git a/Examples/perl5/multimap/runme.pl b/Examples/perl5/multimap/runme.pl
new file mode 100644
index 0000000..416055f
--- /dev/null
+++ b/Examples/perl5/multimap/runme.pl
@@ -0,0 +1,28 @@
+# file: runme.pl
+
+use example;
+
+# Call our gcd() function
+
+$x = 42;
+$y = 105;
+$g = example::gcd($x,$y);
+print "The gcd of $x and $y is $g\n";
+
+# Call the gcdmain() function
+@a = ("gcdmain","42","105");
+example::gcdmain(\@a);
+
+# Call the count function
+print example::count("Hello World", "l"),"\n";
+
+# Call the capitize function
+
+print example::capitalize("hello world"),"\n";
+
+
+
+
+
+
+