1package solarenvhelper;
2
3#**************************************************************
4#
5#  Licensed to the Apache Software Foundation (ASF) under one
6#  or more contributor license agreements.  See the NOTICE file
7#  distributed with this work for additional information
8#  regarding copyright ownership.  The ASF licenses this file
9#  to you under the Apache License, Version 2.0 (the
10#  "License"); you may not use this file except in compliance
11#  with the License.  You may obtain a copy of the License at
12#
13#    http://www.apache.org/licenses/LICENSE-2.0
14#
15#  Unless required by applicable law or agreed to in writing,
16#  software distributed under the License is distributed on an
17#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18#  KIND, either express or implied.  See the License for the
19#  specific language governing permissions and limitations
20#  under the License.
21#
22#**************************************************************
23
24
25
26use strict;
27use warnings;
28
29BEGIN {
30    use Exporter   ();
31    our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS);
32
33    $VERSION     = 1.00;
34    # if using RCS/CVS, this may be preferred
35    $VERSION = do { my @r = (q$Revision: 1.1 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; # must be all one line, for MakeMaker
36    @ISA         = qw(Exporter);
37    @EXPORT      = qw(&setSolenvPath &getSolenvPath);
38    %EXPORT_TAGS = ( );     # eg: TAG => [ qw!name1 name2! ],
39    # your exported package globals go here,
40    # as well as any optionally exported functions
41    @EXPORT_OK   = ( ); # qw($Var1 %Hashit &func3);
42}
43
44our $sSolenvPath;
45sub setSolenvPath($)
46{
47    $sSolenvPath = shift;
48}
49sub getSolenvPath()
50{
51    if ($sSolenvPath)
52    {
53        return $sSolenvPath;
54    }
55    print "INTERNAL ERROR: You must set the solenv path to the performancetest, by call setSolenvPath()\n";
56    exit 1;
57}
58
591;
60