App-SeismicUnixGui
view release on metacpan or search on metacpan
lib/App/SeismicUnixGui/misc/su_param.pm view on Meta::CPAN
package App::SeismicUnixGui::misc::su_param;
=head1 DOCUMENTATION
=head2 SYNOPSIS
PERL PERL PROGRAM NAME: su_param
AUTHOR: Juan Lorenzo
DATE: May 5 2018
DESCRIPTION V 0.2
BASED ON: 0.1
=cut
=head2 USE
=head3 NOTES
=head4 Examples
=head2 CHANGES and their DATES
May 5 2018 looks for configurations
first in the local directory
then in the default configuration
directory /usr/local/pl/big_streams/config
V 0.0.3 June 2022 reference to L_SU_local_user_constants
removed
L_SU_local_user_constants may create cirularity
=cut
=head2
parameters for seismic unix programs
both macros and individual modules
=cut
use Moose;
our $VERSION = '0.0.3';
use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants';
use aliased 'App::SeismicUnixGui::misc::L_SU_path';
use aliased 'App::SeismicUnixGui::misc::developer';
use aliased 'App::SeismicUnixGui::misc::readfiles';
use Shell qw(echo);
=head2 Instantiation
=cut
my $L_SU_global_constants = L_SU_global_constants->new();
my $L_SU_path = L_SU_path->new();
my $HOME = ` echo \$HOME`;
chomp $HOME;
# magic number TODO
my $var = $L_SU_global_constants->var();
my $ACTIVE_PROJECT = $HOME . $var->{_ACTIVE_PROJECT};
my $user_active_project_path = $ACTIVE_PROJECT;
my $true = $var->{_true};
my $false = $var->{_false};
my $empty_string = $var->{_empty_string};
my $flow_type_href = $L_SU_global_constants->flow_type_href();
my $su_param = {
_flow_type => '',
_name_space => 'name_space',
_local_path => '',
_path => '',
_sub_category_directory => '',
_program_config => '',
_program_sref => '',
_user_active_project_path => $user_active_project_path,
_names_aref => '',
};
sub set_flow_type {
( run in 0.554 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )