/trunk/Examples/perl5/multimap/runme.pl
Perl | 28 lines | 9 code | 14 blank | 5 comment | 0 complexity | c323e133b48eb19d7371ffe713ff74f9 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- # 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";