Cravatta :: hash :: regexkeys

cravatta :: hash :: Regexkeys corrisponderanno alle chiavi di hash usando le espressioni regolari.
Scarica ora

Cravatta :: hash :: regexkeys Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Fabrice DULAUNOY
  • Sito web dell'editore:
  • http://search.cpan.org/~fdulau/Tie-Hash-RegexKeys-1.2/RegexKeys.pm

Cravatta :: hash :: regexkeys Tag


Cravatta :: hash :: regexkeys Descrizione

Tie :: hash :: Regexkeys corrisponderanno alle chiavi hash usando espressioni regolari. Cravatta :: hash :: Regexkeys corrisponderanno alle chiavi di hash usando le espressioni regolari.Synopsis use :: hash :: regexkeys; Utilizzare i dati :: Dumper; la mia h; cravatta% h, 'cravatta :: hash :: regexkeys'; My $ A = '.1.2.3.4.5.6.2'; My $ B = '.1.2.3.4.5.7'; My $ c = '.1.2.3.4.5.6.1'; My $ D = '.1.2.3.4.5.6.1.6'; $ h {$ a} = "key11"; $ h {$ B} = "Key2"; $ h {$ c} = "subkey1"; $ h {$ D} = "Subkey2"; My $ Pat = '^ .1.2.3.4.5.6. *'; My @res = legato (% h) -> fetch_keys (QR / $ PAT /); Stampa Dumper (@res); restituire questo: $ VAR1 = '.1.2.3.4.5.6.1'; $ VAR2 = '.1.2.3.4.5.6.1.6'; $ VAR3 = '.1.2.3.4.5.6.2' Requisiti: · Perl.


Cravatta :: hash :: regexkeys Software correlato