| 1 | =encoding iso-8859-1 | ||
| 2 | |||
| 3 | =cut | ||
| 4 | |||
| 5 | # | ||
| 6 | # Copyright (C) 2005, Maxime Soulé | ||
| 7 | # You may distribute this file under the terms of the Artistic | ||
| 8 | # License, as specified in the README file. | ||
| 9 | # | ||
| 10 | |||
| 11 | package Palm::MaTirelire::ExternalCurrencies; | ||
| 12 | |||
| 13 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 1 | ▶ | use Palm::BlockPack; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 1 | ▶ | use Palm::MaTirelire::DBItem; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 1 | ▶ | use base qw(Palm::MaTirelire::DBItem); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | our $VERSION = '1.0'; | |
| 22 | |||
| 23 | |||
| 24 | # Each record | ||
| 25 | 1 | my $RECORD_BLOCK = Palm::BlockPack->new | |
| 26 | ('N' => [ 'integer_part' => 1 ], | ||
| 27 | 'N' => [ 'decimal_part' => 0 ], | ||
| 28 | 'N' => [ 'decimal_factor' => 1 ], | ||
| 29 | 'N' => [ 'euros' => 1 ], | ||
| 30 | 'Z4' => [ 'iso4217' => '???' ], | ||
| 31 | ); | ||
| 32 | |||
| 33 | |||
| 34 | sub import | ||
| 35 | 1 | ▶ | { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 36 | 1 | &Palm::PDB::RegisterPDBHandlers(__PACKAGE__, [ "MaT2", 'CurX' ]); | |
| 37 | } | ||
| 38 | |||
| 39 | |||
| 40 | sub meta_infos ($) | ||
| 41 | 0 | ▶ | { |
|
Subroutine
meta_infos: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 42 | 0 | return { name => "MaTi-ExternalCurrencies", | |
| 43 | type => "CurX", | ||
| 44 | record_block => $RECORD_BLOCK, | ||
| 45 | }; | ||
| 46 | } | ||
| 47 | |||
| 48 | 1 | 1; | |
| 49 | __END__ | ||