| 1 | # | ||
| 2 | # This file is part of WebDyne. | ||
| 3 | # | ||
| 4 | # This software is copyright (c) 2026 by Andrew Speer <andrew.speer@isolutions.com.au>. | ||
| 5 | # | ||
| 6 | # This is free software; you can redistribute it and/or modify it under | ||
| 7 | # the same terms as the Perl 5 programming language system itself. | ||
| 8 | # | ||
| 9 | # Full license text is available at: | ||
| 10 | # | ||
| 11 | # <http://dev.perl.org/licenses/> | ||
| 12 | # | ||
| 13 | |||
| 14 | |||
| 15 | # Constants | ||
| 16 | # | ||
| 17 | package WebDyne::Chain::Constant; | ||
| 18 | |||
| 19 | |||
| 20 | # Pragma | ||
| 21 | # | ||
| 22 | 1 | ▶ | use strict qw(vars); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 1 | ▶ | use vars qw($VERSION @ISA %Constant); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | |||
| 27 | # Does the heavy liftying of importing into caller namespace | ||
| 28 | # | ||
| 29 | 1 | require WebDyne::Constant; | |
| 30 | 1 | @ISA=qw(WebDyne::Constant); | |
| 31 | |||
| 32 | |||
| 33 | # Version information. Must be all on one line | ||
| 34 | # | ||
| 35 | 1 | $VERSION='3.029'; | |
| 36 | |||
| 37 | |||
| 38 | # Constants are empty, but having this file allows for import of DEBUG and othe | ||
| 39 | # vars from /etc/webdyne.conf.pl; | ||
| 40 | # | ||
| 41 | 1 | %Constant=(); | |
| 42 | |||
| 43 | |||
| 44 | # Done | ||
| 45 | # | ||
| 46 | 1 | 1; | |
| 47 | __END__ | ||