00001 ############################################################################## 00002 # @file Basis.pm 00003 # @brief BASIS utilities for Perl. 00004 # 00005 # @note The Basis.pm module is automatically created by BASIS from the 00006 # template file Basis.pm.in which is part of the BASIS installation. 00007 # 00008 # This module uses the modules of the BASIS Perl Utilities and exports the 00009 # utility functions. Hence, it is sufficient to only use this module. 00010 # This is done by the @c @BASIS_PERL_UTILITIES@ code. 00011 # 00012 # Copyright (c) 2011 University of Pennsylvania. All rights reserved.<br /> 00013 # See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file. 00014 # 00015 # Contact: SBIA Group <sbia-software at uphs.upenn.edu> 00016 # 00017 # @ingroup BasisPerlUtilities 00018 ############################################################################## 00019 00020 package SBIA::BASIS::Basis; 00021 00022 use strict; 00023 use warnings; 00024 00025 # ============================================================================ 00026 # exports 00027 # ============================================================================ 00028 00029 our ($VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS); 00030 00031 BEGIN { 00032 use Exporter (); 00033 00034 $VERSION = 1.02_03; 00035 @ISA = qw (Exporter); 00036 00037 %EXPORT_TAGS = ( 00038 default => [qw ( 00039 which 00040 get_executable_name 00041 get_executable_directory 00042 get_executable_path 00043 print_version 00044 print_contact 00045 execute_process 00046 )], 00047 00048 everything => [qw ( 00049 which 00050 where 00051 get_executable_name 00052 get_executable_directory 00053 get_executable_path 00054 is_known_target 00055 get_target_uid 00056 print_version 00057 print_contact 00058 execute_process 00059 )] 00060 ); 00061 00062 Exporter::export_ok_tags ('everything'); 00063 } 00064 00065 # ============================================================================ 00066 # modules 00067 # ============================================================================ 00068 00069 use SBIA::BASIS::File::Which qw(which); 00070 use SBIA::BASIS::ExecutableTargetInfo qw(:everything); 00071 use SBIA::BASIS::StdAux qw(:everything); 00072 00073 00074 1; # indicate success of module loading