| 1 | #!/usr/bin/perl -w | ||
| 2 | # | ||
| 3 | # Declare versions that will be used in pb | ||
| 4 | # Those are filtered with pb mecanism | ||
| 5 | # and have been isolated here to avoid unrelated effects | ||
| 6 | # | ||
| 7 | # Copyright B. Cornec 2007-2016 | ||
| 8 | # Provided under the GPL v2 | ||
| 9 | # | ||
| 10 | package ProjectBuilder::Version; | ||
| 11 | |||
| 12 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | # Inherit from the "Exporter" module which handles exporting functions. | ||
| 15 | |||
| 16 | 3 | ▶ | use vars qw($VERSION $REVISION @ISA @EXPORT); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 3 | ▶ | use Exporter; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | # Export, by default, all the functions into the namespace of | ||
| 20 | # any code which uses this module. | ||
| 21 | 3 | our @ISA = qw(Exporter); | |
| 22 | 3 | our @EXPORT = qw(pb_version_init); | |
| 23 | |||
| 24 | 3 | $VERSION = "0.14.1".""; | |
| 25 | 3 | $REVISION = "2128"; | |
| 26 | |||
| 27 | sub pb_version_init { | ||
| 28 | |||
| 29 | 5 | ▶ | my $projectbuilderver = $VERSION; |
|
Subroutine
pb_version_init: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 30 | 5 | my $projectbuilderrev = $REVISION; | |
| 31 | |||
| 32 | 5 | return($projectbuilderver,$projectbuilderrev); | |
| 33 | } | ||
| 34 | 3 | 1; | |