| 1 | package VoiceXML::Client::Flow; | ||
| 2 | |||
| 3 | |||
| 4 | =head1 COPYRIGHT AND LICENSE | ||
| 5 | |||
| 6 | |||
| 7 | Copyright (C) 2007,2008 by Pat Deegan. | ||
| 8 | All rights reserved | ||
| 9 | http://voicexml.psychogenic.com | ||
| 10 | |||
| 11 | This library is released under the terms of the GNU GPL version 3, making it available only for | ||
| 12 | free programs ("free" here being used in the sense of the GPL, see http://www.gnu.org for more details). | ||
| 13 | Anyone wishing to use this library within a proprietary or otherwise non-GPLed program MUST contact psychogenic.com to | ||
| 14 | acquire a distinct license for their application. This approach encourages the use of free software | ||
| 15 | while allowing for proprietary solutions that support further development. | ||
| 16 | |||
| 17 | |||
| 18 | This file is part of VoiceXML::Client. | ||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | VoiceXML::Client is free software: you can redistribute it and/or modify | ||
| 23 | it under the terms of the GNU General Public License as published by | ||
| 24 | the Free Software Foundation, either version 3 of the License, or | ||
| 25 | (at your option) any later version. | ||
| 26 | |||
| 27 | VoiceXML::Client is distributed in the hope that it will be useful, | ||
| 28 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 29 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 30 | GNU General Public License for more details. | ||
| 31 | |||
| 32 | You should have received a copy of the GNU General Public License | ||
| 33 | along with VoiceXML::Client. If not, see <http://www.gnu.org/licenses/>. | ||
| 34 | |||
| 35 | |||
| 36 | =cut | ||
| 37 | |||
| 38 | 3 | ▶ | use Hash::Util qw(lock_hash); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 39 | |||
| 40 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 41 | |||
| 42 | 3 | ▶ | use vars qw{ |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 43 | %Directive | ||
| 44 | 3 | }; | |
| 45 | |||
| 46 | 3 | %Directive = ( | |
| 47 | |||
| 48 | 'DONE' => 0, | ||
| 49 | 'ABORT' => 1, | ||
| 50 | 'CONTINUE' => 2, | ||
| 51 | 'JUMP' => 3, | ||
| 52 | 'NEXTDOC' => 4, | ||
| 53 | 'SUBRETURN' => 5, | ||
| 54 | ); | ||
| 55 | 3 | Hash::Util::lock_hash(%Directive); | |
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | 3 | 1; | |