Dati :: MultivaleDash.

Dati :: MultillaDeinDash - hash le cui tasti hanno più valori ordinati.
Scarica ora

Dati :: MultivaleDash. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Darren R. Duncan
  • Sito web dell'editore:
  • http://search.cpan.org/~duncand/CGI-Portable-0.51/lib/CGI/Portable/AppMultiScreen.pm

Dati :: MultivaleDash. Tag


Dati :: MultivaleDash. Descrizione

Dati :: Multilladhash - hash le cui tasti hanno più valori ordinati. Dati :: Multilladhash - hash le cui tasti hanno più valori ordinati.Synopsis Utilizzare i dati: MultivaleDash; $ mvh = Dati :: MultillaDedHash-> Nuovo (); # Crea vuota, maiuscole sensibile al maiuscolo / minuscolo $ MvH = Dati :: MultillaDedHash-> Nuovo (1); # Rendi vuoto, caso-insensibile $ MvH = Dati :: MultivaleEDhash-> Nuovo (0, {name => 'John', Age => 17, Color => 'Green', SIblings => , pets => ,}); # Crea nuovo con valori iniziali, tasti case-sensitive $ MvH-> Store (età => 18); # festeggia un compleanno $ mvh-> push (siblings => 'tandy'); # Aggiungi un membro della famiglia, restituisce 4 $ MvH-> Unshift (pets => ); # più animali domestici $ figura = $ mvh-> esiste ('colore'); # Restituisce VERO $ NAME = $ MvH-> Fetch_Value ('SIBLINGS'); # Restituisce 'Laura' $ NAME = $ MVH-> Fetch_Value ('SIBLINGS', 2); # Restituisce 'Julia' $ NAME = $ MvH-> Fetch_Value ('SIBLINGS', -1); # Restituisce 'TANDY' $ RNAME = $ MVH-> Fetch ('SIBLINGS'); # Restituisce tutti e 4 in array ref @ames = $ mvh-> recupera ('fratelli'); # Restituisce tutti e 4 come lista $ NAME = $ MvH-> Fetch_Value ('SIBLINGS'); # non ritorna nulla, caso sbagliato $ mv2 = Dati :: MultivaleEDhash-> Nuovo (1, $ MVH); # CONVE ALLA CASO INSE NAME $ = $ MV2-> FETCH_VALUE ('SIBLINGS'); # restituisce 'Laura' questa volta $ IS_IT = $ MvH-> Ignores_case (); # restituisce falso; come normali hash $ is_it = $ mv2-> ignores_case (); # restituisce True $ Color = $ MvH-> Shift ('colore'); # ritorna 'verde'; nessuno rimangono $ animale = $ mvh-> pop ('pets'); # ritorna 'uccello'; TRE REMIUTO% LISTA = $ MVH-> FETCH_ALL (); # Vuoi tutti i tasti, tutti i valori # ritorna (nome => , Età => , colore => [], # fratelli => , # pets => )% list = $ mvh-> fetch_first (); # Vuoi tutte le chiavi, i primi valori di ciascun # ritorna (nome => "John", età => 18, colore => Undef, # fratelli => 'Laura', pets => "cane")% list = $ $ mvh- > fetch_last (); # Vuoi tutte le chiavi, Ultimi valori di ciascun # reso (Nome => "John", Età => 18, Colore => Undef, # SIBLINGS => 'TANDY', Pets => 'Cat')% elenco = $ MvH- > Fetch_last (); # Vuoi solo nominati chiavi # resi (nome => 'John', SIblings => 'TANDY')% Elenco = $ MvH-> Fetch_Last (, 1); # Vuoi complemento # resi (età => 18, colore => Undef, pets => 'gatto') $ mv3 = $ mvh-> clone (); # Fai un duplicato di me stesso $ mv4 = $ mvh-> fetch_mvh ('pets', 1); # Lascia gli animali domestici in questo "clone" @list = $ MV3-> Keys (); # ritorni ('nome', 'età', 'colore', 'fratelli', 'Animali') $ num = $ MV3-> Keys (); # whoops, non fa ciò che ci aspettiamo; Restituisce Array REF $ NUM = $ MV3-> Keys_count (); # restituisce 5 @list = $ mv3-> valori (); # ritorni ('John', 18, 'Laura', 'Andrew', 'Julia', 'TANDY', # 'DOGLIO', 'CRISCOLARE ",' CANE ') @NUM = $ MV3-> VALES_COUNT (); # Restituisce 9 @ @list = $ MvH-> Splice ('fratelli', 2, 1, ); # sostituisce 'Julia' con 'James'; Restituisce ('Julia') $ mv3-> store_all ({songs => , pets => 'pesci',}); # Aggiungi chiave "brani" con valori, sostituisce l'elenco degli animali domestici con "Pesce" $ MV3-> STORE_VALUE ('Pets', 'Turtle'); # sostituisce il "pesce" con 'Turtle' $ MV3-> STORE_VALUE ('Animali', 'coniglio', 1); # Animali domestici è ora $ OLDVAL = $ MV3-> Elimina ('colore'); # si sbarazza del colore per buono $ rdump = $ mv3-> delete_all (); # Restituisci tutto come hash di array, requisiti chiare: · Perl.


Dati :: MultivaleDash. Software correlato

Jot :: Gd.

Jot :: GD è un modulo perl per utilizzare un file jot / flusso per creare un'immagine. ...

150

Scarica