source: ProjectBuilder/devel/pb/lib/ProjectBuilder/Version.pm@ 329

Last change on this file since 329 was 329, checked in by Bruno Cornec, 16 years ago
  • All modules are packages now (simplifies use and spec)
File size: 598 bytes
Line 
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#
7package ProjectBuilder::Version;
8
9use strict;
10
11# Inherit from the "Exporter" module which handles exporting functions.
12
13use Exporter;
14
15# Export, by default, all the functions into the namespace of
16# any code which uses this module.
17our @ISA = qw(Exporter);
18our @EXPORT = qw(pb_version_init);
19
20sub pb_version_init {
21
22my $projectbuilderver = "PBVER";
23my $projectbuilderrev = "PBREV";
24
25return($projectbuilderver,$projectbuilderrev);
26}
271;
Note: See TracBrowser for help on using the repository browser.