AppConfig :: exporteur

Modules toestaan om appconfig-secties van een gedeelde configuratie te importeren
Download nu

AppConfig :: exporteur Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Ben H. Kram
  • Uitgever website:
  • http://search.cpan.org/~modulo/

AppConfig :: exporteur Tags


AppConfig :: exporteur Beschrijving

Sta modules toe om appconfig-secties van een gedeelde configuratie te importeren APPCONFIG :: exporteur is PERL-module bedoeld om te worden gesubclassificeerd om uw configuratiebestand en alle opties op te geven. Vervolgens kunt u een hash van elke sectie van het configuratiebestand aanvragen door deze op te geven als een symbool dat moet worden geïmporteerd in het gebruiksverklaring van het gebruik: # MyFile.conf Sinaasappelen = 'Smakelijke' appels = 'Sweet' # Sommige code elders. .. Gebruik myconfig qw (fruit); Print "$ fruit {sinaasappelen}!"; # smaakvol! mijn $ appconfig = myconfig-> appconfig; synopsis pakket myconfig; Gebruik basis qw (AppConfig :: exporteur); __Package __-> configureren (config_file => 'myfile.conf', appconfig_options => {case => 0}, appconfig_define => {fun_pickles => {argcount => argcount_list}}); 1; Vereisten: · Perl


AppConfig :: exporteur Gerelateerde software