« lib/App/SeismicUnixGui/developer/code/sunix/sunix_package_subroutine.pm
↑ Summary
lib/App/SeismicUnixGui/developer/code/sunix/sunix_package_use.pm »
| 1 | package App::SeismicUnixGui::developer::code::sunix::sunix_package_tail; | ||
| 2 | use Moose; | ||
| 3 | our $VERSION = '0.0.1'; | ||
| 4 | |||
| 5 | =head2 Default perl lines for the end of a package | ||
| 6 | |||
| 7 | |||
| 8 | =cut | ||
| 9 | my @lines; | ||
| 10 | |||
| 11 | $lines[0] = "\n" . '=head2 sub get_max_index' . "\n\n"; | ||
| 12 | $lines[1] = 'max index = number of input variables -1' . "\n"; | ||
| 13 | $lines[2] = ' ' . "\n"; | ||
| 14 | $lines[3] = '=cut' . "\n"; | ||
| 15 | $lines[4] = ' ' . "\n"; | ||
| 16 | $lines[5] = 'sub get_max_index {' . "\n"; | ||
| 17 | $lines[6] = ' my ($self) = @_;' . "\n"; | ||
| 18 | $lines[7] = ' my $max_index = 36;' . "\n"; | ||
| 19 | $lines[8] = '' . "\n"; | ||
| 20 | $lines[9] = ' return($max_index);' . "\n"; | ||
| 21 | $lines[10] = '}' . "\n"; | ||
| 22 | $lines[11] = ' ' . "\n"; | ||
| 23 | $lines[12] = ' ' . "\n"; | ||
| 24 | |||
| 25 | $lines[13] = ("1;"); | ||
| 26 | |||
| 27 | sub section { | ||
| 28 | my ($self) = @_; | ||
| 29 | return ( \@lines ); | ||
| 30 | } | ||
| 31 | |||
| 32 | 1; |