« lib/App/SeismicUnixGui/developer/code/sunix/sunix_package_tail.pm
↑ Summary
lib/App/SeismicUnixGui/developer/code/sunix/sustkvel_changes.pm »
| 1 | package App::SeismicUnixGui::developer::code::sunix::sunix_package_use; | ||
| 2 | use Moose; | ||
| 3 | our $VERSION = '0.0.1'; | ||
| 4 | |||
| 5 | my @use; | ||
| 6 | |||
| 7 | =head2 use variables | ||
| 8 | |||
| 9 | =cut | ||
| 10 | |||
| 11 | my $sunix_package_use = { | ||
| 12 | _package_name => '', | ||
| 13 | _subroutine_name => '', | ||
| 14 | _param_names => '', | ||
| 15 | }; | ||
| 16 | |||
| 17 | =head2 sub make_section | ||
| 18 | |||
| 19 | print("sunix_package_use,get_section,@lines\n"); | ||
| 20 | =use2 Default perl lines for start of instantiation | ||
| 21 | of imported packages | ||
| 22 | |||
| 23 | =cut | ||
| 24 | |||
| 25 | sub make_section { | ||
| 26 | |||
| 27 | my ($self) = @_; | ||
| 28 | |||
| 29 | $use[0] = 'use aliased \'App::SeismicUnixGui::misc::L_SU_global_constants\';' . "\n\n"; | ||
| 30 | $use[1] = 'use App::SeismicUnixGui::misc::SeismicUnix qw($go $in $off $on $out $ps $to $suffix_ascii $suffix_bin $suffix_ps $suffix_segy $suffix_su);' . "\n"; | ||
| 31 | $use[2] = 'use aliased \'App::SeismicUnixGui::configs::big_streams::Project_config\';' . "\n\n"; | ||
| 32 | return ( \@use ); | ||
| 33 | } | ||
| 34 | |||
| 35 | =head2 sub get_section | ||
| 36 | |||
| 37 | print("sunix_package_use,get_section,@lines\n"); | ||
| 38 | |||
| 39 | =cut | ||
| 40 | |||
| 41 | sub get_section { | ||
| 42 | my ($self) = @_; | ||
| 43 | return ( \@use ); | ||
| 44 | } | ||
| 45 | |||
| 46 | 1; |