Thread Schreibweisen der Perl Versionsnummern
(4 answers)
Opened by roli at 2015-10-19 16:04 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 #!/usr/bin/perl use warnings; use strict; sub getPerlVersionNumber { my @a = split(/\./, $]); $a[1] =~ s/^0+//; return join(".", @a); } print getPerlVersionNumber() . "\n"; ;) |