| Hash :: withdefaults. Una classe per hash con requisiti di custodia a chiave che supportano i valori predefiniti |
Scarica ora |
Hash :: withdefaults. Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Jan Krynicky
- Sito web dell'editore:
- http://search.cpan.org/~jenda/
Hash :: withdefaults. Tag
Hash :: withdefaults. Descrizione
Una classe per hash con requisiti di custodia a chiave che supportano i valori predefiniti Hash :: withdefaults è un modulo perl che implementa gli hash che supportano "valori predefiniti". Questo è possibile specificare diversi più hash in cui i dati verranno alzati in cassa nel caso in cui non sia stato trovato nell'attuale hash.synopsis usa Hash :: withdefaults; % main = (...); cravatta% H1, 'hash :: withdefaults', {...}; Legato (% H1) -> ADDDEDFAULT (\% Main); cravatta% H2, 'hash :: withdefaults', ; Legato (% H2) -> ADDDEDFAULT (\% Main); # Ora se usi $ H1 {$ key}, il valore viene cercato prima # in% H1, quindi in% principale. Requisiti: · Perl.
Hash :: withdefaults. Software correlato